Update server8.py
Browse files- server8.py +6 -6
server8.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
ini_content = {"username":"natclghpe","key":"
|
| 2 |
frp_url = '119.8.118.149'
|
| 3 |
ssh_port = '7081'
|
| 4 |
ssh_url = '170.106.151.61'
|
|
@@ -191,12 +191,12 @@ def update():
|
|
| 191 |
if not is_installed('npm'):
|
| 192 |
install_package('npm')
|
| 193 |
# 安装 p7zip-full
|
| 194 |
-
|
| 195 |
-
|
| 196 |
os.system("sudo apt install p7zip-full -y")
|
| 197 |
-
os.system("pip install -U kaggle")
|
| 198 |
-
os.system("pip uninstall -y kaggle > /dev/null 2>&1")
|
| 199 |
-
os.system("pip install kaggle==1.5.6 > /dev/null 2>&1")
|
| 200 |
# os.system("apt-get install inotify-tools")
|
| 201 |
os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
|
| 202 |
os.system("pip install pexpect")
|
|
|
|
| 1 |
+
ini_content = {"username":"natclghpe","key":"21e32070151c7fe0fbd5af3287d7e489"}
|
| 2 |
frp_url = '119.8.118.149'
|
| 3 |
ssh_port = '7081'
|
| 4 |
ssh_url = '170.106.151.61'
|
|
|
|
| 191 |
if not is_installed('npm'):
|
| 192 |
install_package('npm')
|
| 193 |
# 安装 p7zip-full
|
| 194 |
+
os.system("pip uninstall requests urllib3 -y")
|
| 195 |
+
os.system("pip install requests urllib3")
|
| 196 |
os.system("sudo apt install p7zip-full -y")
|
| 197 |
+
# os.system("pip install -U kaggle")
|
| 198 |
+
# os.system("pip uninstall -y kaggle > /dev/null 2>&1")
|
| 199 |
+
# os.system("pip install kaggle==1.5.6 > /dev/null 2>&1")
|
| 200 |
# os.system("apt-get install inotify-tools")
|
| 201 |
os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
|
| 202 |
os.system("pip install pexpect")
|