perhaps you should send this to macports. you see, Mac Ports normally
installs stuff in /opt/local/bin. but that is not where this code is being
ran from according to your traceback.
"Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django/db/backends/postgresql_psycopg2/base.py",
line 15, in <module>
    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"

looks like posgresql isn't installed on the same root that django was
installed. django seems to have ben installed in
Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/django,
and did not put PosgreSQL in /usr/local/pgsql/lib/libpq.4.dylib" perhaps you
need to give it the path of your database enngine. try, at the commandline
"locate postgresql81 and see where they put it
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to