pip helper

This commit is contained in:
dengrb1
2023-05-11 22:03:12 +08:00
committed by GitHub
parent 0df6de9314
commit 9da156f37c
4 changed files with 28 additions and 28 deletions

View File

@@ -29,11 +29,11 @@ canvas.pack(side="left", fill="both", expand=True)
# def
def Requests():
os.system('pip install Requests')
os.system('pip install Requests -i https://mirrors.aliyun.com/pypi/simple/')
messagebox.showinfo('pip install', ok)
pass
def django():
os.system('pip install django')
os.system('pip install django -i https://mirrors.aliyun.com/pypi/simple/')
messagebox.showinfo(install, ok)
pass
def open_exe(exe_name):
@@ -44,16 +44,16 @@ def open_exe(exe_name):
pass
pass
def fastAPI():
os.system('pip install fastapi')
os.system('pip install fastapi -i https://mirrors.aliyun.com/pypi/simple/')
messagebox.showinfo(install, ok)
def sanic():
os.system('pip install sanic')
os.system('pip install sanic -i https://mirrors.aliyun.com/pypi/simple/')
messagebox.showinfo(install, ok)
def nameko():
os.system('pip install nameko')
os.system('pip install nameko -i https://mirrors.aliyun.com/pypi/simple/')
messagebox.showinfo(install, ok)
def pydantic():
os.system('pip install pydantic')
os.system('pip install pydantic -i https://mirrors.aliyun.com/pypi/simple/')
messagebox.showinfo(install, ok)
def fh():
root.destroy()