PostgreSQL

django.core.exceptions.ImproperlyConfigured: Error loading psycopg module: No module named psycopg

February 26th, 2010

Well, it seems that you are simply missing Psycopg – PostgreSQL database adapter for Python, you need it to connect to PostgreSQL database.

To install untar file that you downloaded, go inside psycopg2-x.x.x folder and execute

> python setup.py build
> python setup.py install