Installing mayavi

Well, this was not quite as straight forward as I hoped.

mayavi is pip installable, but it depends on the VTK library and having the right Python bindings. I tried a few things which didn’t work, and I won’t bore you with, but basically this is what finally worked for me:

port install vtk5 +python27
pip install mayavi
%d bloggers like this: