I\'m trying to get the python postgres client module installed on Ubuntu 12.04. The guidance is to do the following:
apt-get install python-psycopg2
I prefer using pip in case you are using virtualenv:
apt install libpython2.7 libpython2.7-dev
pip install psycopg2