GCoiffier / mouette

Simple geometry processing and mesh handling library in Python.
MIT License
14 stars 2 forks source link

Import Error most likely due to a circular import #1

Closed moorjuli closed 1 year ago

moorjuli commented 1 year ago

Installing worked fine using pip, but when importing mouette in a script, i do get the following error.

Exception has occurred: ImportError
cannot import name 'utils' from partially initialized module 'mouette' (most likely due to a circular import) (c:\Users\User\Documents\Mouette\.venv\lib\site-packages\mouette\__init__.py)

I do get the same error outside of a virtual enviroment both on windows and on ubuntu in a virtual machine

GCoiffier commented 1 year ago

Hi, Thanks for pointing this out ! It turns out I messed up the setup of subpackages. I uploaded a new version on Pypi and I am now able to run the library inside a virtual environment.

Guillaume

moorjuli commented 1 year ago

Hey, thanks for the quick fix, now everything works as it should. Also thanks for your work with the project!