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
-~----------~----~----~----~------~----~------~--~---

Reply via email to