By Austin G. Davis-Richardson
(Use their installation instructions)
brew install gfortran
brew install libpng
pythonbrew install 2.7
pythonbrew use 2.7
(I'm downloading master.zip because some of the repos are quite huge)
curl -L https://github.com/numpy/numpy/archive/master.zip > numpy.zip
curl -L https://github.com/matplotlib/matplotlib/archive/master.zip > matplotlib.zip
curl -L https://github.com/scipy/scipy/archive/master.zip > scipy.zip
curl -L https://github.com/scikit-learn/scikit-learn/archive/master.zip > sklearn.zip
cd
into each directory and python setup.py install
(IPython needs this for the Notebook)
pip install tornado
pip install pyzmq
That should work. Let me know if I forgot something.
Thanks! Also, SciPy depends on SWIG: