12 Commits
v1.0 ... v1.2.1

Author SHA1 Message Date
dengrb1
ffcf25817b update 2023-05-08 21:33:26 +08:00
dengrb1
f8133116cf update 2023-05-08 21:29:20 +08:00
dengrb1
4057af6137 pip helper 2023-05-08 20:40:48 +08:00
dengrb1
1d3a7ecdd6 readme 2023-05-08 20:16:54 +08:00
dengrb1
21de46252b pip helper 2023-05-08 18:07:42 +08:00
dengrb1
2f71ff24af setup_readme 2023-05-07 18:22:06 +08:00
dengrb1
22e78b1b72 pip helper 2023-05-07 17:58:36 +08:00
dengrb1
0955fd1568 install 2023-05-07 12:38:46 +08:00
dengrb1
c9aa91e7a8 update 2023-05-07 10:01:10 +08:00
dengrb1
4899051615 pip helper 2023-05-07 09:59:57 +08:00
dengrb1
87d42f2e5b pip helper 2023-05-06 22:55:48 +08:00
dengrb1
7e9c3ebd54 pip helper 2023-05-06 22:53:43 +08:00
11 changed files with 132 additions and 12 deletions

View File

@@ -7,6 +7,7 @@ root = Tk()
ml = os.getcwd()
file_error = '文件丢失!请重新安装'
ok2 = "删除完成"
uninstall = 'pip uninstall'
def pyqt_remove():
@@ -22,12 +23,20 @@ def pygame_remove():
os.system('pip uninstall pygame')
messagebox.showinfo('pip uninstall', ok2)
pass
def Matplotlib():
os.system('pip uninstall Matplotlib')
messagebox.showinfo(uninstall, ok2)
def Seaborn():
os.system('pip uninstall Seaborn')
messagebox.showinfo(uninstall, ok2)
def fh():
root.destroy()
# button
bt_pq5 = Button(root, text='pyqt5删除', command=pyqt_remove)
bt_pygame = Button(root, text='pygame删除', command=pygame_remove)
bt_matplotlib = Button(root, text='matplotlib删除', command=Matplotlib)
bt_seaborn = Button(root, text='Seaborn删除', command=Seaborn)
bt_wxpython = Button(root, text='wxpython删除', command=wxpython_remove)
bt_fh = Button(root, text='返回', command=fh)
@@ -35,11 +44,13 @@ bt_fh = Button(root, text='返回', command=fh)
Label(root, text='GUI删除').pack()
bt_pq5.pack()
bt_pygame.pack()
bt_matplotlib.pack()
bt_seaborn.pack()
bt_wxpython.pack()
bt_fh.pack()
# mainloop
root.title('GUI')
root.geometry('200x200+400+500')
root.geometry('200x230+400+500')
root.mainloop()

View File

@@ -18,6 +18,12 @@ def wxpython():
def pygame():
os.system("pip install pygame")
messagebox.showinfo(install, ok)
def Matplotlib():
os.system('pip install Matplotlib')
messagebox.showinfo(install, ok)
def Seaborn():
os.system('pip install Seaborn')
messagebox.showinfo(install, ok)
def fh():
root.destroy()
@@ -25,18 +31,22 @@ def fh():
# Button
bt_qt = Button(root, text='pyqt5安装', command=pyqt5)
bt_pygame = Button(root, text='pygame安装', command=pygame)
bt_matplotlib = Button(root, text='matplotlib安装', command=Matplotlib)
bt_seaborn = Button(root, text='Seaborn安装', command=Seaborn)
bt_wx = Button(root, text='wxpython安装', command=wxpython)
bt_fh = Button(root, text='返回', command=fh)
# pack and Label
Label(root, text="GUI install").pack()
Label(root, text="GUI").pack()
bt_qt.pack()
bt_pygame.pack()
bt_matplotlib.pack()
bt_seaborn.pack()
bt_wx.pack()
bt_fh.pack()
# mainloop
root.title("GUI")
root.geometry('200x200+400+400')
root.geometry('200x230+400+400')
root.mainloop()

View File

@@ -5,6 +5,10 @@
因为作者找不到其他的GUI库或者其他库所以作者就懒得更新了
等以后在更新把......
# 重要消息2
pip helper 已经更新到了1.2版本
请耐心等待1.3版本或者1.2.1版本出世
# 作者
邮箱drb12311@163.com

View File

@@ -23,28 +23,27 @@ def install():
def delete():
jc("delete")
def gk():
jc("gk")
def update():
jc("update")
def exit_exe():
os.system('taskkill -f -t -im python.exe')
root.destroy()
pass
def eyeryone():
messagebox.showerror('pip helper', '暂时无法使用,因为程序测试途中出现未知问题......')
# Button and Label
Label(root, text='pip_helper').pack()
Button(root, text='安装模式', command=install).pack()
Button(root, text='删除模式', command=delete).pack()
Button(root, text='全部安装或删除', command=eyeryone).pack()
Button(root, text='更新日志', command=update).pack()
Button(root, text='关于', command=gk).pack()
Button(root, text='退出', command=exit_exe).pack()
# mainloop
root.title('启动器')
root.geometry('200x200+400+400')
root.geometry('200x220+400+400')
root.mainloop()

43
computer_delete.pyw Normal file
View File

@@ -0,0 +1,43 @@
from tkinter import *
from tkinter import messagebox
import os
root = Tk()
ml = os.getcwd()
file_error = '文件丢失,请重新安装'
uninstall = 'pip uninstall'
ok = '删除完成'
# def
def TensorFlow():
os.system('pip uninstall TensorFlow')
messagebox.showinfo(uninstall, ok)
def pytorch():
os.system('pip uninstall pytorch')
messagebox.showinfo(uninstall, ok)
def openai():
os.system('pip uninstall openai')
messagebox.showinfo(uninstall, ok)
def fh():
root.destroy()
# Button
bt_TensorFlow = Button(root, text='TensorFlow删除', command=TensorFlow)
bt_pytorch = Button(root, text='pytorch删除', command=pytorch)
bt_openai = Button(root, text='openai删除', command=openai)
bt_fh = Button(root, text='返回', command=fh)
# pack
Label(root, text='机器学习类库删除').pack()
bt_TensorFlow.pack()
bt_pytorch.pack()
bt_openai.pack()
bt_fh.pack()
# mainloop
root.title('delete')
root.geometry('150x150+400+650')
root.mainloop()

43
computer_install.pyw Normal file
View File

@@ -0,0 +1,43 @@
from tkinter import *
from tkinter import messagebox
import os
root = Tk()
ml = os.getcwd()
file_error = '文件丢失,请重新安装'
ok = '安装完成'
install = 'pip install'
# def
def tensorFlow():
os.system('pip install TensorFlow')
messagebox.showinfo(install, ok)
def pytorch():
os.system('pip install pytorch')
messagebox.showinfo(install, ok)
def openai():
os.system('pip install openai')
messagebox.showinfo(install, ok)
def fh():
root.destroy()
# Button
bt_tensorFlow = Button(root, text='TensorFlow安装', command=tensorFlow)
bt_pytorch = Button(root, text='pytorch安装', command=pytorch)
bt_openai = Button(root, text='openai安装', command=openai)
bt_fh = Button(root, text='返回', command=fh)
# pack
Label(root, text='机器学习类库安装').pack()
bt_tensorFlow.pack()
bt_pytorch.pack()
bt_openai.pack()
bt_fh.pack()
# mainloop
root.title('install')
root.geometry('150x150+400+700')
root.mainloop()

View File

@@ -37,6 +37,8 @@ def GUI_delete():
def web_delete():
open_exe('web_delete')
pass
def computer_delete():
open_exe('computer_delete')
def pyinstaller_remove():
os.system('pip uninstall pyinstaller')
messagebox.showinfo('pip uninstall', ok2)
@@ -64,6 +66,7 @@ def fh():
# Button
remove_GUI = Button(frame, text='GUI类删除', command=GUI_delete).pack()
remove_web = Button(frame, text='web类删除', command=web_delete).pack()
remove_computer = Button(frame, text='机器学习类删除', command=computer_delete).pack()
remove_pyinstaller = Button(frame, text='pyinstaller删除', command=pyinstaller_remove).pack()
remove_tqdm = Button(frame, text='tqdm删除', command=tqdm_remove).pack()
remove_nuitka = Button(frame, text='nuitka删除', command=nuitka_remove).pack()

View File

@@ -39,6 +39,8 @@ def gui_install():
open_exe('GUI_install')
def web_install():
open_exe('web_install')
def computer_install():
open_exe('computer_install')
def pyinstaller():
os.system('pip install pyinstaller')
messagebox.showinfo('pip install', ok)
@@ -65,6 +67,7 @@ def fh():
# Button
pip_gui = Button(frame, text='GUI类安装', command=gui_install).pack()
pip_web = Button(frame, text='web类安装', command=web_install).pack()
pip_computer = Button(frame, text='机器学习类库安装', command=computer_install).pack()
pip_pyinstaller = Button(frame, text='pyinstall安装', command=pyinstaller).pack()
pip_tqdm = Button(frame, text='tqdm安装', command=tqdm).pack()
pip_nuitka = Button(frame, text='nuitka安装', command=nuitka).pack()
@@ -75,5 +78,5 @@ pip_fh = Button(frame,text='返回', command=fh).pack()
# mainloop
root.title('安装')
root.geometry('200x250+400+600')
root.geometry('200x270+400+600')
root.mainloop()

1
setup_readme.txt Normal file
View File

@@ -0,0 +1 @@
1.2 加入更多可视化库都在gui安装和删除类里面;修复一些BUG

View File

@@ -11,7 +11,7 @@ root = Tk()
def quit_exe():
root.destroy()
def update_now():
webbrowser.open("https://kgithub.com/dengrb1/chatgpt/releases/")
webbrowser.open("https://kgithub.com/dengrb1/pip-helper/releases/")
messagebox.showinfo('update', '请选择最新版本并下载运行安装程序,然后就可以更新了!')
# Label
@@ -20,8 +20,11 @@ quit_bt = Button(root, text='返回', command=quit_exe).pack(side=RIGHT)
Label(root, text='更新日志').pack()
text = '''0.1.0 暂无日志
1.0 正式版本修复BUG改正更新日志显示问题
1.1 加入机器学习库安装修复BUG删除关于模块
1.2 加入更多可视化库都在gui安装和删除类里面修复一些BUG
1.2.1 加入机器学习库openai修复BUG;一键安装所有库正在试验中......
当前版本:1.0 (Not beta or demo)'''
当前版本:1.2 (Not beta or demo)'''
text_box = ScrolledText(root)
text_box.pack(fill=BOTH, expand=1)