Re: Django psycopg error
It really says psycopg, not psycopg2. I am not entirely sure what is being imported for I am trying to install Browsershots Central Server, http://code.google.com/p/browsershots/source/checkout, and I have never used Python/Django before.
Thanks for all of your help,
Mike
On Friday, May 11, 2012 3:58:07 PM UTC-4, akaariai wrote:
-- On Friday, May 11, 2012 3:58:07 PM UTC-4, akaariai wrote:
On May 11, 7:37 pm, Mike Di Domenico <didomenico.mi...@gmail.com>
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 view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/zvoOtba2dIwJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home