ImportError: cannot import name utils

If you get an error like this:


File "python/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 9, in <module>
from django.db import utils
ImportError: cannot import name utils

You need to install psycopg2.  You will also probably need to


apt-get install build-essential libpq-dev

This entry was posted in django, python. Bookmark the permalink.

Comments are closed.