Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38103
| Date | 2013-02-03 13:14 +0200 |
|---|---|
| From | alexandra <alexandra@compulab.co.il> |
| Subject | Re: PyGresql 4.1.1 for python2.7 |
| References | <510A6BA4.4070306@compulab.co.il> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1311.1359890080.2939.python-list@python.org> (permalink) |
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="latin-charset" bgcolor="#FFFFFF"
text="#000000">
Using dependency walker revealed that the following are missing from
libpq:<br>
PQescapeLiteral<br>
PQescapeIdentifier <br>
These are only defined in postgresql 9.<br>
Documentation states that PyGresql 4.1.1 is compatible with
PostgreSQL 8.3 or higher and I'm using 8.4.<br>
Has anyone else had this problem?<br>
<br>
<div class="moz-cite-prefix">On 01/31/2013 03:03 PM, alexandra
wrote:<br>
</div>
<blockquote cite="mid:510A6BA4.4070306@compulab.co.il" type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
Hello,<br>
<br>
I'm trying to upgrade to python2.7.<br>
Installed PyGresql 4.1.1 for python 2.7.<br>
When running "import pg" command I get the following error:<br>
<br>
from _pg import *<br>
ImportError: DLL load failed: The operating system cannot run %1.<br>
<br>
I'm using Windows XP SP3, and have PostgreSQL 8.4 installed.<br>
The command runs fine in python 2.6.<br>
<br>
Is this due to having multiple versions of python installed? Or
some kind of dll incompatibility with 2.7 (maybe libpq.dll)?<br>
<br>
Thanks for the help<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: PyGresql 4.1.1 for python2.7 alexandra <alexandra@compulab.co.il> - 2013-02-03 13:14 +0200
csiph-web