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

Update server3.py

Browse files
Files changed (1) hide show
  1. server3.py +5 -3
server3.py CHANGED
@@ -187,9 +187,11 @@ 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("apt-get install inotify-tools")
194
  os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
195
  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("apt-get install inotify-tools")
196
  os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
197
  os.system("pip install pexpect")