Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,10 +11,9 @@ results = os.popen(f"pip3 install -r requirements.txt -i https://pypi.org/simple
|
|
| 11 |
print("step1:", results.readlines())
|
| 12 |
results = os.popen(f"pip3 uninstall scepter -y")
|
| 13 |
print("step2:", results.readlines())
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
print("step3:", results.readlines())
|
| 18 |
results = os.popen(f"pip3 list")
|
| 19 |
print("step4:", results.readlines())
|
| 20 |
#results = os.popen(f"sudo chmod 777 /data")
|
|
|
|
| 11 |
print("step1:", results.readlines())
|
| 12 |
results = os.popen(f"pip3 uninstall scepter -y")
|
| 13 |
print("step2:", results.readlines())
|
| 14 |
+
scepter_whl = os.environ.get("SCEPTER_WHL","scepter")
|
| 15 |
+
results = os.popen(f"pip3 install {scepter_whl} -i https://pypi.org/simple")
|
| 16 |
+
print("step3:", scepter_whl, results.readlines())
|
|
|
|
| 17 |
results = os.popen(f"pip3 list")
|
| 18 |
print("step4:", results.readlines())
|
| 19 |
#results = os.popen(f"sudo chmod 777 /data")
|