Qilan2 commited on
Commit
c603ca7
·
verified ·
1 Parent(s): ba012f0

Update server4.py

Browse files
Files changed (1) hide show
  1. server4.py +2 -1
server4.py CHANGED
@@ -127,7 +127,8 @@ def update():
127
 
128
  if not is_installed('npm'):
129
  install_package('npm')
130
- os.system("pip install -U kaggle > /dev/null 2>&1")
 
131
  # os.system("apt-get install inotify-tools > /dev/null 2>&1")
132
  os.system("pip install ruamel.yaml > /dev/null 2>&1") # install ruamel.yaml to solve the import issue
133
  os.system("pip install pexpect > /dev/null 2>&1")
 
127
 
128
  if not is_installed('npm'):
129
  install_package('npm')
130
+ os.system("pip uninstall -y kaggle > /dev/null 2>&1")
131
+ os.system("pip install kaggle==1.5.6 > /dev/null 2>&1")
132
  # os.system("apt-get install inotify-tools > /dev/null 2>&1")
133
  os.system("pip install ruamel.yaml > /dev/null 2>&1") # install ruamel.yaml to solve the import issue
134
  os.system("pip install pexpect > /dev/null 2>&1")