Hi Chris, thanks for your reply - however I should have been more specific.
I should have said I tried with minimal path with just postgres and python
in the path.

Without postgres in the path, I get:
ImportError: DLL load failed: The specified module could not be found.
With postgresql in the path, I get:
ImportError: DLL load failed: The operating system cannot run %1.

I think it must be some incompatible dll that is in the chain. I did find an
old version of libeay32.dll from 2005 in my windows system directory. I
renamed that but the issue still remained. I also searched for cygw*.* but
didn't find that in the windows hierarchy.

I'm at a loss - looks like I'll just have to keep running it from a remote
machine.

Bryan.

On Tue, Jan 26, 2010 at 11:44 AM, Christoph Zwerschke <[email protected]>wrote:

> Am 26.01.2010 17:05, schrieb Bryan Montgomery:
> > Is there a way to find out what dll its trying to call? From the google
> > searches I have a feeling it may be more of a core OS issue but thought
> it
> > was worth asking here.
>
> PyGreSQL needs the libpq.dll which must be in the Windows PATH.
>
> It's usually found in C:\Program Files\PostgreSQL\8.3\bin
>
> We should really add it to our FAQ.
>
> -- Christoph
> _______________________________________________
> PyGreSQL mailing list
> [email protected]
> http://mailman.vex.net/mailman/listinfo/pygresql
>
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to