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
- HDF5 1.6 - if you have enzo, you likely have this
- Python 2.6
- NumPy
- MatPlotLib - Be sure to get at least version 0.99.1.1.
- libpng - Your system probably has this, so only install if the installation fails on a libpng error. Be sure to install a version from the 1.2 series.
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. Right now, Reason is in hibernation, so you probably don't need this.
- 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:
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.7/ cd yt-1.7 echo LOCATION_TO_HDF5 > hdf5.cfg python2.6 setup.py install
