All- Having a rough go getting database bindings in OS X.
I've installed psycopg2 using the package here: http://pythonmac.org/packages/py25-fat/mpkg/psycopg2-2.0.5.1-py2.5-macosx10.4.zip When I run 'python manage.py shell' I get the following... any ideas on how to fix this? Traceback (most recent call last): File "manage.py", line 11, in <module> execute_manager(settings) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/core/management/__init__.py", line 275, in execute_manager utility.execute() File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/core/management/__init__.py", line 225, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/core/management/base.py", line 70, in run_from_argv self.execute(*args, **options.__dict__) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/core/management/base.py", line 84, in execute output = self.handle(*args, **options) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/core/management/base.py", line 166, in handle return self.handle_noargs(**options) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/core/management/commands/shell.py", line 17, in handle_noargs from django.db.models.loading import get_models File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/db/__init__.py", line 17, in <module> backend = __import__('%s%s.base' % (_import_path, settings.DATABASE_ENGINE), {}, {}, ['']) File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/django/db/backends/postgresql_psycopg2/ base.py", line 14, 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 Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/ lib/python2.5/site-packages/psycopg2/_psycopg.so Reason: image not found --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---