Spaces:
Runtime error
Runtime error
system
commited on
Update setup_petal_swarm.py
Browse files- setup_petal_swarm.py +1 -1
setup_petal_swarm.py
CHANGED
|
@@ -6,7 +6,7 @@ import time
|
|
| 6 |
def install_dependencies():
|
| 7 |
try:
|
| 8 |
print("Installing Petals...")
|
| 9 |
-
subprocess.check_call([sys.executable, "-
|
| 10 |
print("Petals installation successful.")
|
| 11 |
except subprocess.CalledProcessError:
|
| 12 |
print("Error during Petals installation.")
|
|
|
|
| 6 |
def install_dependencies():
|
| 7 |
try:
|
| 8 |
print("Installing Petals...")
|
| 9 |
+
subprocess.check_call([sys.executable, "sudo", "-H", "pip", "install", "--user", "git+https://github.com/bigscience-workshop/petals"])
|
| 10 |
print("Petals installation successful.")
|
| 11 |
except subprocess.CalledProcessError:
|
| 12 |
print("Error during Petals installation.")
|