On Fri, Jun 3, 2011 at 5:50 PM, Stephen Lacy <
slacy@slacy.com> wrote:
> Yeah, I went down this track as well. And in short, here's where I am:
>
> I didn't have C:\...\PostgreSQL\8.4\bin on my path.
> So, after building my env and installing, I added it to my path. "import
> psycopg2" worked, which was good.
> But then, as a sanity check, I nuked the env and am now trying to rebuild
> it. "pip install psycopg" is currently failing with "Error: pg_config
> executable not found" even though I've got it on my path and can run it
> directly from the commandline. Even more odd is how "pip install psycopg2"
> works *without* PostgreSQL in my path, but *fails* if I have it in. Very,
> very confusing. :)
> Here's the output from "pip install psycopg2" when I have PostgreSQL in my
> path.
[...]