I am having trouble installing psycopg2. I get the following error when I try to pip install psycopg2:
pip install psycopg2
Error: pg_config executable not found. P
Have you installed python-dev? If you already have, try also installing libpq-dev
python-dev
libpq-dev
sudo apt-get install libpq-dev python-dev
From the article: How to install psycopg2 under virtualenv