[Tutor] Access PostGreSQL 8.3 by python 2.5
kent37 at tds.net
Wed Oct 28 12:40:19 CET 2009
On Wed, Oct 28, 2009 at 1:44 AM, Mahasen Dehideniya <mahasen_d at yahoo.com> wrote:
> Hi ,
> I'm try to access PostGreSQL 8.3 by python 2.5. I'm working on winXP.
> I use pg module.
> At the first time i get error that no found dll. when i add C:\Program
> Files\PostgreSQL\8.3\bin to the path variable i able to fixed it.
> After that i get following error.
>>>> import pg
> Traceback (most recent call last):
> File "<pyshell#3>", line 1, in <module>
> import pg
> File "C:\Python25\Lib\site-packages\pg.py", line 21, in <module>
> from _pg import *
> ImportError: DLL load failed with error code 182
> Can any one tell me how I fixed this error?
Here is someone with the same error who traced it to conflicting
versions of a supporting DLL:
More information about the Tutor