Crunch-UQ4MI/neuraluq

pip installer for neuraluq

Opened this issue · 2 comments

When I imported neuraluq, I ran into the error:
ModuleNotFoundError: No module named 'tensorflow.compat'
From stackoverflow posts on the topic, it seems the error comes from filename clashes, and that it sometimes works to switch to pip installation from the deprecated setup.py method. I rebuilt the package under hatch, published to the PyPI test repo, and installed via pip from there, and that seemed to fix the issue. I'm happy to share my very minor changes if that helps to get neuraluq updated to be compatible with pip.

Hi, I think the issue came from installing neuraluq using pip install. Currently we recommend using "python setup.py install". Let me know if it does not resolve the issue.

Thank you for your quick reply! I got the tensorflow.compat error when I tried to install neuraluq with "python setup.py install". I was able to get neuraluq to work by building it into a .whl and installing with pip.