<html style="direction: ltr;">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<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">
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>
</body>
</html>