Am 28.03.2010 22:15 schrieb Steven Norris:
I have the path [PostgreSQL]\libpq64 in my environment variables as:
"C:\Program Files\PostgreSQL\libpq64" but I am still getting the
same error.

Are you sure? The error message looks like only the 32bit dll was found, not the 64bit dll. If both are found, maybe it helps putting the 64bit path in front of the 32bit path.

What do you get if you put the following before "from pg import DB"?

import os
path = os.environ['PATH']
print [p for p in path].split(';') if 'postgres' in p.lower()]

You can also check with "gcm libpq.dll" in the PowerShell.

Finally, if you select file properties -> details on the 64bit libpq.dll, what is displayed as version, date and size of the dll?

-- Christoph
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to