更新自动启动工具

This commit is contained in:
2022-08-09 16:07:59 +08:00
parent 4aebf9db16
commit 814ab2ab0e
2 changed files with 102 additions and 23 deletions

View File

@ -63,8 +63,6 @@ class version:
os.system(f"python -m pip install {i} -i {index}")
elif platform == 'linux':
os.system("sudo apt-get install python3-pip")
os.system("sudo apt-get install python3-tk")
os.system("sudo apt-get install python3-tkinter")
for i in self.libraries:
print("安装库:" + i)
os.system(f"sudo python3 -m pip install {i} -i {index}")