[Tutor] Access PostGreSQL 8.3 by python 2.5
mahasen_d at yahoo.com
Wed Oct 28 06:44:40 CET 2009
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>
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?
Thank in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor