jparkhill / TensorMol

Tensorflow + Molecules = TensorMol
http://blogs.nd.edu/parkhillgroup
GNU General Public License v3.0
271 stars 75 forks source link

Issues with starting up: #27

Closed naturalabundance closed 6 years ago

naturalabundance commented 6 years ago

I installed TF & installed TM on an Ubuntu VM. I have tried to import TensorMol as tm and receive

NameError: name 'sys' is not defined

I received this error with "python test.py" commands as well. Please advise!

jparkhill commented 6 years ago

a) Don't execute python test.py use: "python ./samples/test_chemspider9.py"

b) sys is an important package which is contained in all Unix python distributions. First try "import sys" at an ordinary python prompt. If that doesn't work then basically your python distribution is not functional...

naturalabundance commented 6 years ago

The import sys was working when I ran it from command line, but not when was failing when I tried to import TensorMol or tried to execute any of the samples. I found that adding it explicitly to the .py files remedied this problem. Thank you for your help Dr. Parkhill!

PaoloBenigni commented 6 years ago

Can you comment on which packages required specifying sys for? I found only two.