Installing Manually

Every effort has been made to reduce yt to the smallest number of dependencies. However, there are certain dependencies which are unavoidable.

Hard Dependencies

Optional Dependencies

  •  h5py - You should get this unless you only deal with small datasets ( fewer than 2000 grids ) as it serializes some types of data about the hierarchy and projections between instances
  •  wxPython Optional, for using the GUI, Reason -- see installation instructions below
  • PyHDF_NP Optional, for using HDF4-based datasets -- you almost certainly don't need this.

Installing wxPython

The installation instructions for wxPython on the wxPython website are a bit complicated, and designed for a more robust build process than we want. It should be something like the following, but updated for the version you download:

cd wxPython-src-2.8.7.1
./configure --prefix=$MY_DIR/ --with-opengl
make install
cd contrib
make install
cd ../wxPython/
$MY_DIR/bin/python2.6 setup.py

Installing YT

You can either check out the bleeding-edge repository:

svn co http://svn.enzotools.org/yt/trunk yt
cd yt
echo LOCATION_TO_HDF5 > hdf5.cfg
python2.6 setup.py install

Or the current release version, which is in maintenance and stability mode:

svn co http://svn.enzotools.org/yt/branches/yt-1.6/
cd yt-1.6
echo LOCATION_TO_HDF5 > hdf5.cfg
python2.6 setup.py install