bug in linux fixes

This commit is contained in:
EillesWan 2021-11-21 14:11:28 +08:00
parent 9e6994db34
commit 673239356c

View File

@ -122,6 +122,12 @@ class version:
shutil.rmtree(os.getenv('APPDATA')+'\\Musicreater\\')
except:
pass;
for i in self.libraries:
print("安装库:"+i)
os.system("python -m pip install "+i+" -i https://pypi.tuna.tsinghua.edu.cn/simple")
for i in self.libraries:
print("安装库:"+i)
os.system("python -m pip install "+i+" -i https://pypi.tuna.tsinghua.edu.cn/simple")
else:
os.system("sudo apt-get install python3-pip")
for i in self.libraries:
print("安装库:"+i)
os.system("sudo python3 -m pip install "+i+" -i https://pypi.tuna.tsinghua.edu.cn/simple")