This was helpful. Thank you. :)
On Thursday, March 24, 2011 11:49:05 AM UTC-4, Shawn Milochik wrote:
-- On Thursday, March 24, 2011 11:49:05 AM UTC-4, Shawn Milochik wrote:
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 unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a663c3ae-5182-4480-b85c-6ab7b73ee38a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment