Required Python Modules

PIP

Pip is a package manager for python. To install it, use the system's own "easy_install" program

easy_install pip

Numpy

Numpy is an array manipulation package for python. To install, run

pip install numpy --upgrade

bsddb3

bsddb3 provides Python bindings for the Berkeley DB API.

Having previously defined the BERKELEYDB_DIR environment variable, we can install bsddb3 with pip very easily:

pip install bsddb3

PyOpenGL

PyOpenGL provides Python bindings for OpenGL. There is a pip package for it, available here, along with an acceleration package for optimization of certain graphics routines.

pip install PyOpenGL PyOpenGL-accelerate

IPython

IPython provides a rich toolkit to help you make the most out of using Python interactively. EMAN2 uses iPython for the "e2.py" interactive interpreter environment.

pip install ipython

Matplotlib

Matplotlib is a python 2D and 3D plotting library which produces publication quality figures in a variety of hardcopy formats and interactive environments. It can be installed with the following line:

pip install matplotlib

For examples and inspiration, see: http://matplotlib.org/gallery.html

Readline

pip install gnureadline