I have a Django 1.5, Python 2.7 site running under Apache with mod_wsgi on a CentOS 6.4 server.
I have rebuilt this site using Django 1.6 and Python 3.3. Deploying
Try these commands Debian, Ubuntu
sudo apt-get install python-dev sudo apt-get install libpq-dev
For RedHat Enterprise, Fedora, CentOS
sudo yum install python-devel sudo yum install postgresql-libs
Then Install psycopg2
pip install psycopg2