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.
Scipy will fail without Cython. Do an easy_install cython before installing Scipy.