From that bash interaction I can assume you are running os x. The absolutely easiest way to install postgresql and psycopg2 on os x is with postgresplus. These links may help if you decide to go down that path:
http://www.enterprisedb.com/products/postgres_plus/overview.do http://blog.jonypawks.net/2008/06/20/installing-psycopg2-on-os-x/ Matt Hampel wrote: > Setting the pg_config path got me to the next stage of errors, which > is a step forward. Thanks! > > Now I get a permission denied error without any more information or > context. > Any suggestions? > > What I tried: > > matth:psycopg2-2.0.11 matth$ python setup.py build > running build > running build_py > running build_ext > error: Permission denied > matth:psycopg2-2.0.11 matth$ sudo python setup.py build > Password: > running build > running build_py > running build_ext > error: Permission denied > > > > On Jul 19, 12:20 am, walty <wal...@gmail.com> wrote: > >> thx, it solves my problem (psycopg2-2.0.11 on OSX) right away :) >> >> just drop a few more words: >> if installed the postgresql 8.4 using mac binary, the line of >> configuration (inside setup.cfg) should be: >> pg_config=/Library/PostgreSQL/8.4/bin/pg_config >> >> On Jul 7, 6:17 am, Justin Johnson <littlebast...@gmail.com> wrote: >> >> >>> I corrected the build_ext error and successfully built/installed by >>> adding the full path to pg_config in setup.cfg. >>> >>> On Jun 23, 10:19 am, 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 >>>> runningbuild_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 -~----------~----~----~----~------~----~------~--~---