This actually has nothing to do with Python -- I'm talking about your
PATH, not your PYTHONPATH.

Short version: Type 'which pg_config' at the command line. If it is
found, then it's on your PATH. Otherwise, it's not, which appears to
be the case.

If you want to just do a temporary fix, you can follow these steps:

    Run this:
    find / -name pg_config 2>>/dev/null

    #let's assume the result of the previous command is this:
/usr/lib/postgresql/8.4/bin/pg_config

    Add that path to your PATH temporarily

    export PATH=$PATH:/usr/lib/postgresql/8.4/bin

You should then be able to do the pip install.

If that doesn't work because pg_config isn't found on your system at
all then see Jacob's suggestions.

Shawn

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to