Closed koaning closed 8 years ago
This issue can be closed. This is a textbook of example of conda
and pip
not always playing nice.
For other people with the same issue; check if from the command line import cython
works. If it doesn't it may be an indication of paths being wrong someplace. Something else to note is that the jupyer notebook sometimes picks the wrong kernel. If you start a notebook from a python3 virtualenv, jupyer may still try to start a python2 notebook.
Excellent, glad I could be of assistance.
A simple
pip freeze
gives this;This should include all dependencies. Yet still, when I try to import the library I get;
It seems like a library is missing from the dependencies. My impression was that
pyximport
was part ofcython
but even with the most recent version I keep getting this error on a fresh virtualenv.