[PyGreSQL] Problem with installation of PyGreSQL

CWR Craig at BreakthroughProject.com
Fri Jun 30 19:00:34 EDT 2006


Hi all,
 
Downloaded Win32 package using link
ftp://ftp.pygresql.org/pub/distrib/PyGreSQL-3.8.1.win32-py2.4.exe on 6/29/06
(yesterday).
 
Am using:
  Python 2.4
  IDLE 1.1
  Had just installed PostGreSQL 8.1
 
Installation seemed to run smoothly, but get the following message with the
command "import pgdb":
 
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in -toplevel-
    import pgdb
  File "C:\Python24\Lib\site-packages\pgdb.py", line 69, in -toplevel-
    from _pg import *
ImportError: DLL load failed: The specified module could not be found.
 
The file _pg.pyd exists and is located in the same directory
(Python24\Lib\site-packages\) as pgdb.py.
 
  I tried:
    Moving it to Python24\DLLs
    Renaming it to _pg.dll (clutching at straws here)
 
_pg.pyd as on my system is 42KB in size and has Date Modified 6/29/2006
11:12 PM
 
 
Any ideas of what the problem might be?
 
 
I am relatively new to Python (but love the language), and would like to
develop database applications using Python and PostGreSQL (totally new to
the database).
 
 
I am also curious about "classic PyGreSQL" vs "DB-API 2.0 compliant".  I'm
not necessarily concerned about being able to use the same API to connect to
multiple different database systems.  Any recommendations?
 
Thanks,
 
Craig Roberts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.vex.net/pipermail/pygresql/attachments/20060630/70dcadd3/attachment.html


More information about the PyGreSQL mailing list