I'm trying to run Hadoopy, which has a file _main.pyx, and import _main
is failing with module not found in __init__.py.
I'm trying to run this on OS X w/ standard python 2.7.
See Question&Answers more detail:osI'm trying to run Hadoopy, which has a file _main.pyx, and import _main
is failing with module not found in __init__.py.
I'm trying to run this on OS X w/ standard python 2.7.
See Question&Answers more detail:osAdd this code before you try to import _main
:
import pyximport
pyximport.install()
Note that pyximport
is part of Cython, so you'll have to install that if it isn't already.