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
Reading http://pypi.python.org/simple/psycopg2/
Reading http://initd.org/projects/psycopg2
Reading http://initd.org/pub/software/psycopg/
Best match: psycopg2 2.0.11
Downloading http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to