bug in linux fixes

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

View File

@ -125,3 +125,9 @@ class version:
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")