On May 11, 7:37 pm, Mike Di Domenico <[email protected]> wrote: > I have the python-psycopg2 package installed and the settings for my engine > are 'django.db.backends.postgresql_psycopg2' and I am still getting the > error. > > When I do "python manage.py shell" I get the error "Error: No module named > psycopg". > > The contents of manage.py are the following: > from django.core.management import execute_manager > import settings # Assumed to be in the same directory. > > if __name__ == "__main__": > execute_manager(settings)
Do you really get the error "No module named psycopg"? No 2 in there? Might it be you are trying to import psycopg somewhere in the project - django doesn't try to import psycopg, only psycopg2... - Anssi -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

