diff --git a/deepin-wine-easy-packager.py b/deepin-wine-easy-packager.py index 4c7085f..a5070fb 100755 --- a/deepin-wine-easy-packager.py +++ b/deepin-wine-easy-packager.py @@ -5,7 +5,11 @@ import json import time import updatekiller import random -import xpinyin +try: + import xpinyin +except: + os.system("python3 -m pip install --upgrade xpinyin --trusted-host https://repo.huaweicloud.com -i https://repo.huaweicloud.com/repository/pypi/simple --break-system-packages") + import xpinyin import traceback import subprocess import PyQt5.QtGui as QtGui