Skip to content

Instantly share code, notes, and snippets.

@rriemann
Last active December 14, 2015 00:08
Show Gist options
  • Save rriemann/4996175 to your computer and use it in GitHub Desktop.
Save rriemann/4996175 to your computer and use it in GitHub Desktop.
How-To Setup Mayavi2 on opensuse 12.2

Notes on Installing Mayavi2 on opensuse 12.2 or 12.1

  • Mayavi: http://code.enthought.com/projects/mayavi/

  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment