Qilan2 commited on
Commit
89c2918
·
verified ·
1 Parent(s): 5aa0e32

Update server2.py

Browse files
Files changed (1) hide show
  1. server2.py +2 -0
server2.py CHANGED
@@ -136,6 +136,8 @@ def update():
136
  # 安装 p7zip-full
137
  os.system("sudo apt install p7zip-full -y")
138
  os.system("pip install -U kaggle")
 
 
139
  # os.system("apt-get install inotify-tools")
140
  os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
141
  os.system("pip install pexpect")
 
136
  # 安装 p7zip-full
137
  os.system("sudo apt install p7zip-full -y")
138
  os.system("pip install -U kaggle")
139
+ os.system("pip uninstall -y kaggle > /dev/null 2>&1")
140
+ os.system("pip install kaggle==1.5.6 > /dev/null 2>&1")
141
  # os.system("apt-get install inotify-tools")
142
  os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
143
  os.system("pip install pexpect")