After that a simple "import ihm" in a python shell leads to the following error:
>>> import ihm
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "..../lib/python3.9/site-packages/ihm-1.0-py3.9-linux-x86_64.egg/ihm/__init__.py", line 21, in <module>
from . import util
ImportError: cannot import name 'util' from partially initialized module 'ihm' (most likely due to a circular import) (..../lib/python3.9/site-packages/ihm-1.0-py3.9-linux-x86_64.egg/ihm/__init__.py)
I could track the issue to the ihm/util folder which was recently added and which was not copied to ..../lib/python3.9/site-packages/ihm-1.0-py3.9-linux-x86_64.egg/ihm. If I manually copy the folder it all works...
In case this matters: I tested this in an ubuntu-based Docker setup and a CentOS setup where the library is installed in a venv.
When updating python-ihm I observed that it wasn't working any more as I could not do an "import ihm".
My setup installs the latest python-ihm with
After that a simple "import ihm" in a python shell leads to the following error:
I could track the issue to the ihm/util folder which was recently added and which was not copied to
..../lib/python3.9/site-packages/ihm-1.0-py3.9-linux-x86_64.egg/ihm
. If I manually copy the folder it all works...In case this matters: I tested this in an ubuntu-based Docker setup and a CentOS setup where the library is installed in a venv.