To install pydirect you will need the following prerequisites:
Python(x,y) is a great way to get all of these if you are using windows and satisfied with 32bit.
Download the source files of pydirect, unzip, and then execute:
$ python setup.py install
You can test the installation by running the examples under the folder test/. Some of the examples require matplotlib.