I’m trying to get numpy to import in Blender but am having issues. I’m using 2.69 on a Mac (OX 10.9.1). Depending on where I put numpy I get a different error.
If I install via macports and then try to append my path with sys.path.append to point to the correct directory where macports installs things, I get one of these:
ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch
your python intepreter from there.
If I copy numpy from its site-packages location to scripts/addons, I get one of these:
raceback (most recent call last):
File “<blender_console>”, line 1, in <module>
File “/Applications/Blender/blender.app/Contents/MacOS/2.69/scripts/addons/numpy/init.py”, line 153, in <module>
from . import add_newdocs
ImportError: cannot import name add_newdocs
Any help figuring this out would be most appreciated!