Qilan2 commited on
Commit
8241361
·
verified ·
1 Parent(s): 85af05a

Update server8.py

Browse files
Files changed (1) hide show
  1. server8.py +5 -5
server8.py CHANGED
@@ -191,12 +191,12 @@ def update():
191
  if not is_installed('npm'):
192
  install_package('npm')
193
  # 安装 p7zip-full
194
- os.system("pip uninstall requests urllib3 -y")
195
- os.system("pip install requests urllib3")
196
  os.system("sudo apt install p7zip-full -y")
197
- # os.system("pip install -U kaggle")
198
- # os.system("pip uninstall -y kaggle > /dev/null 2>&1")
199
- # os.system("pip install kaggle==1.5.6 > /dev/null 2>&1")
200
  # os.system("apt-get install inotify-tools")
201
  os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
202
  os.system("pip install pexpect")
 
191
  if not is_installed('npm'):
192
  install_package('npm')
193
  # 安装 p7zip-full
194
+ # os.system("pip uninstall requests urllib3 -y")
195
+ # os.system("pip install requests urllib3")
196
  os.system("sudo apt install p7zip-full -y")
197
+ os.system("pip install -U kaggle")
198
+ os.system("pip uninstall -y kaggle > /dev/null 2>&1")
199
+ os.system("pip install kaggle==1.5.6 > /dev/null 2>&1")
200
  # os.system("apt-get install inotify-tools")
201
  os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
202
  os.system("pip install pexpect")