Using dependency walker revealed that the following are missing from
libpq:
PQescapeLiteral
PQescapeIdentifier
These are only defined in postgresql 9.
Documentation states that PyGresql 4.1.1 is compatible with
PostgreSQL 8.3 or higher and I'm using 8.4.
Has anyone else had this problem?
On 01/31/2013 03:03 PM, alexandra
wrote:
Hello,
I'm trying to upgrade to python2.7.
Installed PyGresql 4.1.1 for python 2.7.
When running "import pg" command I get the following error:
from _pg import *
ImportError: DLL load failed: The operating system cannot run %1.
I'm using Windows XP SP3, and have PostgreSQL 8.4 installed.
The command runs fine in python 2.6.
Is this due to having multiple versions of python installed? Or
some kind of dll incompatibility with 2.7 (maybe libpq.dll)?
Thanks for the help
|
--
http://mail.python.org/mailman/listinfo/python-list