Qilan2 commited on
Commit
77af8bc
·
verified ·
1 Parent(s): 89c2918

Update server3.py

Browse files
Files changed (1) hide show
  1. server3.py +3 -1
server3.py CHANGED
@@ -129,7 +129,9 @@ def update():
129
  install_package('npm')
130
  # 安装 p7zip-full
131
  os.system("sudo apt install p7zip-full -y")
132
- os.system("pip install -U kaggle")
 
 
133
  # os.system("apt-get install inotify-tools")
134
  os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
135
  os.system("pip install pexpect")
 
129
  install_package('npm')
130
  # 安装 p7zip-full
131
  os.system("sudo apt install p7zip-full -y")
132
+ os.system("pip install -U kaggle
133
+ os.system("pip uninstall -y kaggle > /dev/null 2>&1")
134
+ os.system("pip install kaggle==1.5.6 > /dev/null 2>&1")
135
  # os.system("apt-get install inotify-tools")
136
  os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
137
  os.system("pip install pexpect")