修复简易打包器在UOS无法正常启动的问题

This commit is contained in:
gfdgd xi 2024-01-20 14:29:57 +08:00
parent 59064fb1c6
commit dc3477eae2

View File

@ -8,7 +8,7 @@ import random
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")
os.system("python3 -m pip install --upgrade xpinyin --trusted-host https://repo.huaweicloud.com -i https://repo.huaweicloud.com/repository/pypi/simple")
import xpinyin
import traceback
import subprocess