I have gotten psycopg2 to compile though in a roundabout way. I have tried to compile Python from source and got other errors. Although I already had Xcode installed, I decided that it couldn't hurt to reinstall it and see what happens. After doing so, I was able to compile Python without any problems; go figure =). Then using my new install of Python and exporting the path to PostgreSQL, compiling psycopg2 went smoothly.
On Jul 16, 9:46 am, Dave Everitt <dever...@innotts.co.uk> wrote: > I've just done this after installing Postgresql (BTW and letting it > mess with my OS X memory settings): > > Added path to .bash_login (or .bash_profile) > export PATH="/Library/PostgreSQL/8.4/bin:$PATH" > > sudo easy_install psycopg2 > Password: > Searching for psycopg2 > Readinghttp://pypi.python.org/simple/psycopg2/ > Readinghttp://initd.org/projects/psycopg2 > Readinghttp://initd.org/pub/software/psycopg/ > Best match: psycopg2 2.0.11 > Downloadinghttp://initd.org/pub/software/psycopg/psycopg2-2.0.11.tar.gz > Processing psycopg2-2.0.11.tar.gz > Running psycopg2-2.0.11/setup.py -q bdist_egg --dist-dir /tmp/ > easy_install-jTbWWk/psycopg2-2.0.11/egg-dist-tmp-9HFHuM > warning: no files found matching '*.html' under directory 'doc' > warning: no files found matching 'MANIFEST' > zip_safe flag not set; analyzing archive contents... > Adding psycopg2 2.0.11 to easy-install.pth file > > Installed /Library/Frameworks/Python.framework/Versions/2.6/lib/ > python2.6/site-packages/psycopg2-2.0.11-py2.6-macosx-10.3-i386.egg > Processing dependencies for psycopg2 > Finished processing dependencies for psycopg2 > > python > > >>>import psycopg2 > > Success? --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---