I am having trouble installing a Django app (Mezzanine) on Ubuntu 14.04. I've installed most necessities using apt-get (except for django-compressor and south -used pip), including psycopg2 for Postgres. However when I go to run python manage.py createdb it gives this error:
Error loading psycopg2 module: No module named psycopg2
sudo apt-get install python-psycopg2
psycopg you installed through
apt-get is not visible from inside the virtual env.
You should install it through pip
pip install psycopg2
after sourcing your environment.