Update server.py
Browse files
server.py
CHANGED
|
@@ -136,10 +136,12 @@ def update():
|
|
| 136 |
if not is_installed('npm'):
|
| 137 |
install_package('npm')
|
| 138 |
os.system("sudo apt install p7zip-full -y")
|
|
|
|
|
|
|
| 139 |
os.system("pip install paramiko")
|
| 140 |
-
os.system("pip install -U kaggle")
|
| 141 |
-
os.system("pip uninstall -y kaggle > /dev/null 2>&1")
|
| 142 |
-
os.system("pip install kaggle==1.5.6 > /dev/null 2>&1")
|
| 143 |
# os.system("apt-get install inotify-tools")
|
| 144 |
os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
|
| 145 |
os.system("pip install pexpect")
|
|
|
|
| 136 |
if not is_installed('npm'):
|
| 137 |
install_package('npm')
|
| 138 |
os.system("sudo apt install p7zip-full -y")
|
| 139 |
+
os.system("pip uninstall requests urllib3 -y")
|
| 140 |
+
os.system("pip install requests urllib3")
|
| 141 |
os.system("pip install paramiko")
|
| 142 |
+
# os.system("pip install -U kaggle")
|
| 143 |
+
# os.system("pip uninstall -y kaggle > /dev/null 2>&1")
|
| 144 |
+
# os.system("pip install kaggle==1.5.6 > /dev/null 2>&1")
|
| 145 |
# os.system("apt-get install inotify-tools")
|
| 146 |
os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
|
| 147 |
os.system("pip install pexpect")
|