Closed eggplantbren closed 6 years ago
Python 2 or 3?
Assuming no typos, this can be an issue with sys.path
not including the right path or worst case scenario a circular import.
I'll try to debug it in the morning.
Python 3.6.4 through Anaconda 5.1.0 (the latest version). I can import pykima if I'm in the same directory as setup.py, but not if I'm in another directory?
Would the sys.path
thing affect other packages as well? Because DNest4's Python package (installed the same way) works fine.
Sorry I'm not very knowledgeable about Python environments and packages.
The setup.py
didn't actually specify the package it wanted to install, but Travis didn't catch this because I tested it in the same directory. It's fixed now, I think (you can do setup.py install
again). Thank you for catching all these bugs!
I've run
python setup.py install
and pykima seems to have been put in my site-packages correctly. However, I get a ModuleNotFoundError when I try to import it. Any idea why this would happen?