Spaces:
Runtime error
Runtime error
user previlages
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import subprocess
|
|
2 |
|
3 |
# Run the setup.py install command
|
4 |
try:
|
5 |
-
subprocess.run(['python', 'setup.py', 'install'], check=True)
|
6 |
print("Installation successful.")
|
7 |
except subprocess.CalledProcessError as e:
|
8 |
print(f"Installation failed with error: {e}")
|
|
|
2 |
|
3 |
# Run the setup.py install command
|
4 |
try:
|
5 |
+
subprocess.run(['python', 'setup.py', 'install', '--user'], check=True)
|
6 |
print("Installation successful.")
|
7 |
except subprocess.CalledProcessError as e:
|
8 |
print(f"Installation failed with error: {e}")
|