Numpy build fails with cannot import multiarray

I'm using homebrew python on Mavericks, trying to build numpy 1.8. Unfortunately, when I try to install numpy, I get the following error: https://gist.github.com/ngoldbaum/8592039

I'm able to build numpy 1.7.2 with pip install numpy==1.7.2, but numpy 1.8 always fails to build with the same traceback.

Answers


on Mac:

1.) remove these 2 folders manually:

rm -rf /usr/local/lib/python2.7/site-packages/numpy/
rm -rf /usr/local/lib/python2.7/site-packages/numpy-1.10.4.dist-info/

notice: pip uninstall numpy didn't work for me, I had to remove numpy manually.

2.) re-install numpy: pip install numpy


This was solved by doing brew uninstall python, deleting the contents of /usr/local/lib/python2.7/site-packages, reinstalling python, and then rebuilding numpy.


I solved my issue doing this: Python.exe .\lib\site-packages\easy_install.py


I solved it by uninstalling numpy and reinstalling numpy using pip -

pip3 uninstall numpy

pip3 install numpy

Need Your Help

jQuery UI: TypeError: $(...).accordion is not a function

javascript jquery jquery-ui jquery-ui-accordion

For some reason the jQuery UI Accordion does not work. I keep getting this error:

How to disable all whitespace autoformatting in Visual Studio 2015?

c# visual-studio visual-studio-2015 autoformatting

I really like the new Visual Studio 2015, but the auto formatting is a bit too much extensive for my liking. Especially I like to have control over whitespace: