Update server.py
Browse files
server.py
CHANGED
|
@@ -134,7 +134,9 @@ def update():
|
|
| 134 |
|
| 135 |
if not is_installed('npm'):
|
| 136 |
install_package('npm')
|
| 137 |
-
os.system("pip install -U kaggle > /dev/null 2>&1")
|
|
|
|
|
|
|
| 138 |
# os.system("apt-get install inotify-tools > /dev/null 2>&1")
|
| 139 |
os.system("pip install ruamel.yaml > /dev/null 2>&1") # install ruamel.yaml to solve the import issue
|
| 140 |
os.system("pip install pexpect > /dev/null 2>&1")
|
|
|
|
| 134 |
|
| 135 |
if not is_installed('npm'):
|
| 136 |
install_package('npm')
|
| 137 |
+
os.system("pip install -U kaggle > /dev/null 2>&1")
|
| 138 |
+
os.system("pip uninstall -y kaggle > /dev/null 2>&1")
|
| 139 |
+
os.system("pip install kaggle==1.5.6 > /dev/null 2>&1")
|
| 140 |
# os.system("apt-get install inotify-tools > /dev/null 2>&1")
|
| 141 |
os.system("pip install ruamel.yaml > /dev/null 2>&1") # install ruamel.yaml to solve the import issue
|
| 142 |
os.system("pip install pexpect > /dev/null 2>&1")
|