I'm trying to run Hadoopy, which has a file _main.pyx, and import _main is failing with module not found in __init__.py.
import _main
I'm trying to run this on OS X w/ standard python 2.7.
Add this code before you try to import _main:
_main
import pyximport pyximport.install()
Note that pyximport is part of Cython, so you'll have to install that if it isn't already.
pyximport
2.1m questions
2.1m answers
60 comments
57.0k users