-
Add python repo:
zypper ar http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_12.2/devel:languages:python.repo
-
Install Dependencies:
zypper in python-tvtk python-traitsui python-pyface python-traits python-matplotlib python-scipy python-Epsilon python-numpy python-sip-devel python-sip python-configobj python-wxWidgets python-numpy-devel python-Sphinx
-
move all packages to python repo, if errors on build should occur:
zypper dup --from devel_languages_python
-
git clone git://github.com/enthought/mayavi.git
(tested version: 4.2.0-37-g5e8910e) -
cd mayavi
-
python setup.py build
-
sudo python setup.py install
The package is installed to /usr/local/...
and can be started using mayavi2
executable.
for Ubuntu: http://packages.ubuntu.com/quantal/mayavi2