hitz02 commited on
Commit
c1a9068
·
1 Parent(s): d99dd27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -18,7 +18,8 @@ tf.get_logger().setLevel('ERROR')
18
  #def install(package):
19
  #subprocess.run("python -m pip install torch-scatter -f https://data.pyg.org/whl/torch-1.10.0+cu102.html", shell=True)
20
  try:
21
- subprocess.check_call([sys.executable, "-m", "pip", "install", 'torch-scatter','-f', 'https://data.pyg.org/whl/torch-1.10.0+cu102.html'])
 
22
  except:
23
  print('Error..')
24
 
 
18
  #def install(package):
19
  #subprocess.run("python -m pip install torch-scatter -f https://data.pyg.org/whl/torch-1.10.0+cu102.html", shell=True)
20
  try:
21
+ print(sys.executable)
22
+ subprocess.check_call([sys.executable, "-m", "pip3", "install", 'torch-scatter','-f', 'https://data.pyg.org/whl/torch-1.10.0+cu102.html'])
23
  except:
24
  print('Error..')
25