Installation Instructions for MayaVI2

Last updated: June 7th, 2008.

Install setuptools, wxPython, vtk, numpy using your package manager.

Use easy_install as follows:

easy_install -f http://code.enthought.com/enstaller/eggs/source enthought.traits
easy_install -f http://code.enthought.com/enstaller/eggs/source enthought.tvtk
easy_install -f http://code.enthought.com/enstaller/eggs/source ets

As of this writing, you will invariably encounter a SandboxErrors with one or all of these easy_install commands. For example:

Searching for enthought.chaco2>=2.0.4.dev,<=2.0.4
Best match: enthought.chaco2 2.0.4
Downloading http://code.enthought.com/enstaller/eggs/source/enthought.chaco2-2.0.4.tar.gz
Processing enthought.chaco2-2.0.4.tar.gz
Running enthought.chaco2-2.0.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-aOzSc3/enthought.chaco2-2.0.4/egg-dist-tmp-MToUNX
Adding enthought.chaco2 2.0.4 to easy-install.pth file

Installed /usr/lib/python2.5/site-packages/enthought.chaco2-2.0.4-py2.5-linux-i686.egg
Searching for enthought.chaco>=1.9.3.dev,<=1.9.3
Best match: enthought.chaco 1.9.3
Downloading http://code.enthought.com/enstaller/eggs/source/enthought.chaco-1.9.3.tar.gz
Processing enthought.chaco-1.9.3.tar.gz
Running enthought.chaco-1.9.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-HZQaIG/enthought.chaco-1.9.3/egg-dist-tmp-PWtmID
error: Setup script exited with error: SandboxViolation: os.open('/tmp/easy_install-aOzSc3/enthought.chaco2-2.0.4/temp/tmpec-NXx/4uZz5u', 131266, 384) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

The workaround is to manually install the package which causes the SandboxError, here

markov portage # easy_install -f http://code.enthought.com/enstaller/eggs/source enthought.chaco2
Searching for enthought.chaco2
Best match: enthought.chaco2 2.0.4
Processing enthought.chaco2-2.0.4-py2.5-linux-i686.egg
enthought.chaco2 2.0.4 is already the active version in easy-install.pth

Using /usr/lib/python2.5/site-packages/enthought.chaco2-2.0.4-py2.5-linux-i686.egg
Processing dependencies for enthought.chaco2
Finished processing dependencies for enthought.chaco2

and then retry the original package

markov portage # easy_install -f http://code.enthought.com/enstaller/eggs/source enthought.chaco
Searching for enthought.chaco
Reading http://code.enthought.com/enstaller/eggs/source
Best match: enthought.chaco 1.9.3
Downloading http://code.enthought.com/enstaller/eggs/source/enthought.chaco-1.9.3.tar.gz
Processing enthought.chaco-1.9.3.tar.gz
Running enthought.chaco-1.9.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-W5__lr/enthought.chaco-1.9.3/egg-dist-tmp-z8W4mf
Adding enthought.chaco 1.9.3 to easy-install.pth file

Installed /usr/lib/python2.5/site-packages/enthought.chaco-1.9.3-py2.5-linux-i686.egg
Reading http://code.enthought.com/enstaller/eggs/source/unstable
Processing dependencies for enthought.chaco
Finished processing dependencies for enthought.chaco
markov portage #                      

Repeat as necessary until all SandboxErrors are resolved.