This is actually related to psycopg2, OS X and Postgres but I was
hoping someone in here has seen the same issue.

I recently installed PostgresPlus 8.4, Django dev (1.4?), and psycop2
version 2.2.0 on my imac OS X 10.6.4

When i try to run dbshell from the command line I get an error that
reads

raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading psycopg2
module: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/psycopg2/_psycopg.so, 2): Library not loaded: /
usr/local/pgsql/lib/libpq.4.dylib
  Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/
lib/python2.5/site-packages/psycopg2/_psycopg.so
  Reason: image not found

I've tracked the problem down to this line:

ibrary not loaded: /usr/local/pgsql/lib/libpq.4.dylib

The reason that library didn't load is because it doesn't exist
anywhere. I installed psycop via these instructions:

http://blog.jonypawks.net/2008/06/20/installing-psycopg2-on-os-x/

I've been through several threads and have still not been able to
figure out the issue

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to