Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8b4b1186bc | ||
|
|
7a76d4c7c8 | ||
|
|
9da156f37c |
@@ -64,7 +64,7 @@ def fh():
|
|||||||
# button
|
# button
|
||||||
bt_qt = Button(root, text='pyqt5删除', command=pyqt)
|
bt_qt = Button(root, text='pyqt5删除', command=pyqt)
|
||||||
bt_pygame = Button(root, text='pygame删除', command=pygame)
|
bt_pygame = Button(root, text='pygame删除', command=pygame)
|
||||||
bt_wxpython = Button(frame, text='wxpython删除', command=wxpython)
|
bt_wx = Button(frame, text='wxpython删除', command=wxpython)
|
||||||
bt_kivy = Button(frame, text='kivy删除', command=kivy)
|
bt_kivy = Button(frame, text='kivy删除', command=kivy)
|
||||||
bt_pyside = Button(frame, text='pyside6删除', command=pyside6)
|
bt_pyside = Button(frame, text='pyside6删除', command=pyside6)
|
||||||
bt_flexx = Button(frame, text='flexx删除', command=flexx)
|
bt_flexx = Button(frame, text='flexx删除', command=flexx)
|
||||||
@@ -83,7 +83,7 @@ bt_matplotlib.pack()
|
|||||||
bt_seaborn.pack()
|
bt_seaborn.pack()
|
||||||
bt_flexx.pack()
|
bt_flexx.pack()
|
||||||
bt_pysimpleGUI.pack()
|
bt_pysimpleGUI.pack()
|
||||||
bt_wxpython.pack()
|
bt_wx.pack()
|
||||||
bt_fh.pack()
|
bt_fh.pack()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -27,34 +27,34 @@ canvas.pack(side="left", fill="both", expand=True)
|
|||||||
|
|
||||||
|
|
||||||
def pyqt5():
|
def pyqt5():
|
||||||
os.system("pip install pyqt5")
|
os.system("pip install pyqt5 -i https://mirrors.aliyun.com/pypi/simple/")
|
||||||
os.systen('pip install PyQtWebEngine')
|
os.systen('pip install PyQtWebEngine -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def wxpython():
|
def wxpython():
|
||||||
os.system("pip install wxpython")
|
os.system("pip install wxpython -i https://mirrors.aliyun.com/pypi/simple/")
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def pygame():
|
def pygame():
|
||||||
os.system("pip install pygame")
|
os.system("pip install pygame -i https://mirrors.aliyun.com/pypi/simple/")
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def Matplotlib():
|
def Matplotlib():
|
||||||
os.system('pip install Matplotlib')
|
os.system('pip install Matplotlib -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def Seaborn():
|
def Seaborn():
|
||||||
os.system('pip install Seaborn')
|
os.system('pip install Seaborn -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def fh():
|
def fh():
|
||||||
root.destroy()
|
root.destroy()
|
||||||
def kivy():
|
def kivy():
|
||||||
os.system('pip install kivy')
|
os.system('pip install kivy -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def pysimpleGUI():
|
def pysimpleGUI():
|
||||||
os.system('pip install pysimpleGUI')
|
os.system('pip install pysimpleGUI -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def pyside6():
|
def pyside6():
|
||||||
os.system('pip install pyside6')
|
os.system('pip install pyside6 -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install ,ok)
|
messagebox.showinfo(install ,ok)
|
||||||
def flexx():
|
def flexx():
|
||||||
os.system('pip install flexx')
|
os.system('pip install flexx -i https://mirrors.aliyun.com/pypi/simple/d')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -28,25 +28,25 @@ canvas.pack(side="left", fill="both", expand=True)
|
|||||||
|
|
||||||
# def
|
# def
|
||||||
def tensorFlow():
|
def tensorFlow():
|
||||||
os.system('pip install TensorFlow')
|
os.system('pip install TensorFlow -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def pytorch():
|
def pytorch():
|
||||||
os.system('pip install pytorch')
|
os.system('pip install pytorch -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def openai():
|
def openai():
|
||||||
os.system('pip install openai')
|
os.system('pip install openai -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def keras():
|
def keras():
|
||||||
os.system('pip install keras')
|
os.system('pip install keras -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def scikit_learn():
|
def scikit_learn():
|
||||||
os.system('pip install scikit-learn')
|
os.system('pip install scikit-learn -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def lightGBM():
|
def lightGBM():
|
||||||
os.system('pip install lightGBM')
|
os.system('pip install lightGBM -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def CatBoost():
|
def CatBoost():
|
||||||
os.system('pip install CatBoost')
|
os.system('pip install CatBoost -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.shir
|
messagebox.shir
|
||||||
def fh():
|
def fh():
|
||||||
root.destroy()
|
root.destroy()
|
||||||
|
|||||||
40
install.pyw
40
install.pyw
@@ -42,38 +42,50 @@ def web_install():
|
|||||||
def computer_install():
|
def computer_install():
|
||||||
open_exe('computer_install')
|
open_exe('computer_install')
|
||||||
def pyinstaller():
|
def pyinstaller():
|
||||||
os.system('pip install pyinstaller')
|
os.system('pip install pyinstaller -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo('pip install', ok)
|
messagebox.showinfo('pip install', ok)
|
||||||
pass
|
pass
|
||||||
def nuitka():
|
def nuitka():
|
||||||
os.system('pip install nuitka')
|
os.system('pip install nuitka -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo('pip install', ok)
|
messagebox.showinfo('pip install', ok)
|
||||||
pass
|
pass
|
||||||
def pywin32():
|
def pywin32():
|
||||||
os.system('pip install pywin32')
|
os.system('pip install pywin32 -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
pass
|
pass
|
||||||
def tqdm():
|
def tqdm():
|
||||||
os.system('pip install tqdm')
|
os.system('pip install tqdm -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
pass
|
pass
|
||||||
def numpy():
|
def numpy():
|
||||||
os.system('pip install numpy')
|
os.system('pip install numpy -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
pass
|
pass
|
||||||
def fh():
|
def fh():
|
||||||
root.destroy()
|
root.destroy()
|
||||||
|
|
||||||
# Button
|
# Button
|
||||||
pip_gui = Button(frame, text='GUI类安装', command=gui_install).pack()
|
pip_gui = Button(frame, text='GUI类安装', command=gui_install)
|
||||||
pip_web = Button(frame, text='web类安装', command=web_install).pack()
|
pip_web = Button(frame, text='web类安装', command=web_install)
|
||||||
pip_computer = Button(frame, text='机器学习类库安装', command=computer_install).pack()
|
pip_computer = Button(frame, text='机器学习类库安装', command=computer_install)
|
||||||
pip_pyinstaller = Button(frame, text='pyinstall安装', command=pyinstaller).pack()
|
pip_pyinstaller = Button(frame, text='pyinstaller安装', command=pyinstaller)
|
||||||
pip_tqdm = Button(frame, text='tqdm安装', command=tqdm).pack()
|
pip_tqdm = Button(frame, text='tqdm安装', command=tqdm)
|
||||||
pip_nuitka = Button(frame, text='nuitka安装', command=nuitka).pack()
|
pip_nuitka = Button(frame, text='nuitka安装', command=nuitka)
|
||||||
pip_pywin32 = Button(frame, text='pywin32安装', command=pywin32).pack()
|
pip_pywin32 = Button(frame, text='pywin32安装', command=pywin32)
|
||||||
pip_numpy = Button(frame, text='numpy安装', command=numpy).pack()
|
pip_numpy = Button(frame, text='numpy安装', command=numpy)
|
||||||
pip_fh = Button(frame,text='返回', command=fh).pack()
|
pip_fh = Button(frame,text='返回', command=fh)
|
||||||
|
|
||||||
|
# pack and label
|
||||||
|
Label(root, text='安装模式').pack()
|
||||||
|
pip_gui.pack()
|
||||||
|
pip_web.pack()
|
||||||
|
pip_computer.pack()
|
||||||
|
pip_pyinstaller.pack()
|
||||||
|
pip_tqdm.pack()
|
||||||
|
pip_nuitka.pack()
|
||||||
|
pip_pywin32.pack()
|
||||||
|
pip_numpy.pack()
|
||||||
|
pip_fh.pack()
|
||||||
|
|
||||||
|
|
||||||
# mainloop
|
# mainloop
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ text = '''0.1.0 暂无日志
|
|||||||
1.3 加入更多GUI库,比如:pyside6, kivy等等;修复一些BUG
|
1.3 加入更多GUI库,比如:pyside6, kivy等等;修复一些BUG
|
||||||
1.4 加入pip安装检测;加入更多web类库;修复一些BUG
|
1.4 加入pip安装检测;加入更多web类库;修复一些BUG
|
||||||
1.5 加入更多机器学习库;修复一些BUG;修改pip安装检测代
|
1.5 加入更多机器学习库;修复一些BUG;修改pip安装检测代
|
||||||
|
1.5.1 修改pip源,让下载速度变得更加快速!!
|
||||||
|
|
||||||
当前版本:1.5 (Not beta or demo)'''
|
当前版本:1.5 (Not beta or demo)'''
|
||||||
|
|
||||||
|
|||||||
@@ -29,11 +29,11 @@ canvas.pack(side="left", fill="both", expand=True)
|
|||||||
|
|
||||||
# def
|
# def
|
||||||
def Requests():
|
def Requests():
|
||||||
os.system('pip install Requests')
|
os.system('pip install Requests -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo('pip install', ok)
|
messagebox.showinfo('pip install', ok)
|
||||||
pass
|
pass
|
||||||
def django():
|
def django():
|
||||||
os.system('pip install django')
|
os.system('pip install django -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
pass
|
pass
|
||||||
def open_exe(exe_name):
|
def open_exe(exe_name):
|
||||||
@@ -44,16 +44,16 @@ def open_exe(exe_name):
|
|||||||
pass
|
pass
|
||||||
pass
|
pass
|
||||||
def fastAPI():
|
def fastAPI():
|
||||||
os.system('pip install fastapi')
|
os.system('pip install fastapi -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def sanic():
|
def sanic():
|
||||||
os.system('pip install sanic')
|
os.system('pip install sanic -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def nameko():
|
def nameko():
|
||||||
os.system('pip install nameko')
|
os.system('pip install nameko -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def pydantic():
|
def pydantic():
|
||||||
os.system('pip install pydantic')
|
os.system('pip install pydantic -i https://mirrors.aliyun.com/pypi/simple/')
|
||||||
messagebox.showinfo(install, ok)
|
messagebox.showinfo(install, ok)
|
||||||
def fh():
|
def fh():
|
||||||
root.destroy()
|
root.destroy()
|
||||||
@@ -79,7 +79,6 @@ bt_sanic.pack()
|
|||||||
bt_nameko.pack()
|
bt_nameko.pack()
|
||||||
bt_pydantic.pack()
|
bt_pydantic.pack()
|
||||||
bt_fh.pack()
|
bt_fh.pack()
|
||||||
bt_fh.pack()
|
|
||||||
|
|
||||||
|
|
||||||
# mainloop
|
# mainloop
|
||||||
|
|||||||
Reference in New Issue
Block a user