Qilan2 commited on
Commit
30a8005
·
verified ·
1 Parent(s): 53acfcb

Update server2.py

Browse files
Files changed (1) hide show
  1. server2.py +6 -4
server2.py CHANGED
@@ -187,10 +187,12 @@ def update():
187
  install_package('npm')
188
  # 安装 p7zip-full
189
  os.system("sudo apt install p7zip-full -y")
190
- os.system("pip install -U kaggle")
191
- os.system("pip uninstall -y kaggle > /dev/null 2>&1")
192
- os.system("pip install kaggle==1.5.6 > /dev/null 2>&1")
193
- os.system("pip install --upgrade urllib3 kaggle")
 
 
194
  # os.system("apt-get install inotify-tools")
195
  os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
196
  os.system("pip install pexpect")
 
187
  install_package('npm')
188
  # 安装 p7zip-full
189
  os.system("sudo apt install p7zip-full -y")
190
+ os.system("pip uninstall requests urllib3 -y")
191
+ os.system("pip install requests urllib3")
192
+ # os.system("pip install -U kaggle")
193
+ # os.system("pip uninstall -y kaggle > /dev/null 2>&1")
194
+ # os.system("pip install kaggle==1.5.6 > /dev/null 2>&1")
195
+ # os.system("pip install --upgrade urllib3 kaggle")
196
  # os.system("apt-get install inotify-tools")
197
  os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
198
  os.system("pip install pexpect")