I am trying to set up a PostgreSQL database for my django project, which I believe I have done now thanks to the replies to my last question Problems setting up a postgreSQL
first install apt-get install python-setuptools
apt-get install python-setuptools
then try easy_install psycopg2
easy_install psycopg2