/opt/local/bin$ sudo port install py26-psycopg2 worked, after an incredible number of (presumably dependent) installs.
Now I'm getting a password error, but I'll post that separately as it deserves a different title. thanks Chris On Jun 23, 8:33 pm, James Martin <jmar...@learningobjects.com> wrote: > I was never able to get psycopg2 to compile on osx.... I recommend > using sqlite for development or another database. If you must use > psycopg2, you may want to try to get it through something like > darwinports. > > On Tue, Jun 23, 2009 at 1:19 PM, Chris Haynes<chay...@indiana.edu> wrote: > > > Using what I believe is the latest version of psycopyg, I get: > > > 509 ~/Desktop/psycopg2-2.0.9$ python setup.py build > > running build > > running build_py > > creating build > > creating build/lib.macosx-10.3-fat-2.6 > > creating build/lib.macosx-10.3-fat-2.6/psycopg2 > > copying lib/__init__.py -> build/lib.macosx-10.3-fat-2.6/psycopg2 > > copying lib/errorcodes.py -> build/lib.macosx-10.3-fat-2.6/psycopg2 > > copying lib/extensions.py -> build/lib.macosx-10.3-fat-2.6/psycopg2 > > copying lib/extras.py -> build/lib.macosx-10.3-fat-2.6/psycopg2 > > copying lib/pool.py -> build/lib.macosx-10.3-fat-2.6/psycopg2 > > copying lib/psycopg1.py -> build/lib.macosx-10.3-fat-2.6/psycopg2 > > copying lib/tz.py -> build/lib.macosx-10.3-fat-2.6/psycopg2 > > running build_ext > > error: No such file or directory > > > and easy_install doesn't work either (seems like the same problem): > > > 510 ~/Desktop/psycopg2-2.0.9$ easy_install . > > Processing . > > Running setup.py -q bdist_egg --dist-dir /Users/home/Desktop/ > > psycopg2-2.0.9/egg-dist-tmp-mYsMSq > > error: Setup script exited with error: No such file or directory --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---