macosscipypiposx-mountain-lion

How to install Scipy with pip on Mac Mountain Lion OS X v10.8


I'm having serious difficulty installing Scipy with pip on Mountain Lion. I've tried:

sudo pip install -e git+https://github.com/scipy/scipy#egg=scipy-dev

As suggested in various places on the web.

This leads to errors like:

ld: library not found for -lgcc
lipo: can't figure out the architecture type of: /var/tmp//ccC2HLVs.out

and several warnings (I assume not serious) before the errors.

Does anybody have any suggestions?


Solution

  • Pip has difficulties with scipy on OS X in general. It is not trivial to install from the sources, so I advise against it. In OS X you have a few better options: