vuu10 commited on
Commit
5d3da25
1 Parent(s): da37dde

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -16,6 +16,7 @@ try:
16
  from openbabel import openbabel
17
  except:
18
  print ("openbabel not found, Installing openbabel ")
 
19
  s2 = os.system("wget 'https://repo.continuum.io/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh' && bash Miniconda3-4.5.4-Linux-x86_64.sh -bfp /home/user/app/local")
20
  s1 = os.system("/home/user/app/local/bin/conda install -c conda-forge openbabel -y")
21
  print(s2)
 
16
  from openbabel import openbabel
17
  except:
18
  print ("openbabel not found, Installing openbabel ")
19
+ sys.path.append('/home/user/app/local/')
20
  s2 = os.system("wget 'https://repo.continuum.io/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh' && bash Miniconda3-4.5.4-Linux-x86_64.sh -bfp /home/user/app/local")
21
  s1 = os.system("/home/user/app/local/bin/conda install -c conda-forge openbabel -y")
22
  print(s2)