Mayavi on OS X Mountain Lion 10.8.5

1. Get homebrew:
2. Install homebrew’s version of python:

brew install python

(You should probably get SciPy too:
3. Change path so that /usr/local/bin is listed first: /etc/paths


4. Close console and open again to get new path.
5. Install pyqt:

brew install pyqt

6. Install version 5.10.1 of vtk (6.0.0 is currently not working):

brew tap  homebrew/science
brew versions vtk #list versions of vtk
cd /usr/local/Library/Taps/homebrew-science/ #so that git finds vtk repository
git checkout 27a4327 /usr/local/Library/Taps/homebrew-science/vtk.rb #checkout version 5.10.1
homebrew install vtk

7. Install mayavi:

pip install mayavi

8. Install ipython:

easy_install ipython

9. Run your mayavi plot: