I am working on Django project with virtualenv and connect it to local postgres database. when i run the project is says,
ImportError: No module named psycop
Use these following commands, this will solve the error:
sudo apt-get install postgresql
then fire:
sudo apt-get install python-psycopg2
and last:
sudo apt-get install libpq-dev