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

arlogb picture arlogb · Aug 23, 2012 · Viewed 24.7k times · Source

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?

Answer

Anton I. Sipos picture Anton I. Sipos · Jan 14, 2013

Scipy is also available now via a homebrew tap. If you have homebrew installed:

brew tap samueljohn/python
brew install scipy

See more info here: homebrew-python