Blazgo commited on
Commit
eac0082
·
verified ·
1 Parent(s): 236e473

Update setup_petal_swarm.py

Browse files
Files changed (1) hide show
  1. 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, "-m", "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.")
 
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.")