By Austin G. Davis-Richardson
(Use their installation instructions)
brew install gfortran
brew install libpng
brew install swig
pythonbrew install 2.7
pythonbrew use 2.7
easy_install cython
Note: don't use easy_install for scipy and numpy!
See http://stackoverflow.com/questions/12574604/scipy-install-on-mountain-lion-failing for details.
(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.