pablo-arantes / making-it-rain

Cloud-based molecular simulations for everyone
MIT License
377 stars 97 forks source link

openmm circular import #44

Closed kva0987 closed 1 year ago

kva0987 commented 1 year ago

Hi,

While it has been working perfect few days ago, I get error messages as below just recently;


ImportError Traceback (most recent call last) in 17 sys.path.append('/usr/local/lib/python3.7/site-packages/') 18 from biopandas.pdb import PandasPdb ---> 19 import simtk.openmm as mm 20 import simtk.openmm.app as app 21 from simtk.openmm import unit

2 frames /usr/local/lib/python3.7/site-packages/openmm/openmm.py in 11 # Import the low-level C/C++ module 12 if package or "." in name: ---> 13 from . import _openmm 14 else: 15 import _openmm

ImportError: cannot import name '_openmm' from partially initialized module 'openmm' (most likely due to a circular import) (/usr/local/lib/python3.7/site-packages/openmm/init.py)


pablo-arantes commented 1 year ago

Hi @kva0987,

Thank you for your message. I will check the error. Google Colab have updated the python version to 3.8, I need to check if this update affected the notebook. I will let you know as soon as possible.

Best,

Pablo

pablo-arantes commented 1 year ago

HI @kva0987,

I've fixed the error. Please, let me know if everything is working fine.

Thank you.

Pablo

kva0987 commented 1 year ago

Hi,

It is working seamlessly. Thank you!