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
I just run this command as a root from terminal and problem is solved,
sudo apt-get install -y postgis postgresql-9.3-postgis-2.1 pip install psycopg2
or
sudo apt-get install libpq-dev python-dev pip install psycopg2