PyGresql 4.1.1 for python2.7

A

alexandra

body p { margin-bottom: 0cm; margin-top: 0pt; } 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top