[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [modeller_usage] Libs not read correctly



On 7/25/19 3:42 AM, Danilo Boskovic wrote:
when i attempt to run modeller through chimera interface (local) it works, but when i attempt to run my own script i get:

Traceback (most recent call last):
   File "modeller.py", line 1, in <module>
     from modeller import *
  File "/home/harald/Desktop/Projectfiles/Repo/Input files/5xwp/modeller.py", line 3, in <module>
     env = environ()
NameError: name 'environ' is not defined

Don't call your script "modeller.py". If you do that, "import modeller" will import itself, not Modeller.


	Ben Webb, Modeller Caretaker
--
             https://salilab.org/modeller/
Modeller mail list: https://salilab.org/mailman/listinfo/modeller_usage