Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Python (http://www.velocityreviews.com/forums/f43-python.html)
-   -   Re: PyGresql 4.1.1 for python2.7 (http://www.velocityreviews.com/forums/t957236-re-pygresql-4-1-1-for-python2-7-a.html)

alexandra 02-03-2013 11:14 AM

Re: PyGresql 4.1.1 for python2.7
 
body p { margin-bottom: 0cm; margin-top: 0pt; } 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





All times are GMT. The time now is 08:00 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57