Login | Register
My pages Projects Community openCollabNet

Discussions > users > No module named pgdb > Reply to message

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

Reply to message

2020-04-07: This site is going to be decommissioned and shut down on 2020-07-01. Please copy and archive any data you wish to keep before that date.

* = Required fields
* Subject
* Body
Send reply to
Author (directly in email)
Please type the letters in the image above.

Original message

Author dplank
Full name Darryl Plank
Date 2007-11-23 01:04:36 PST
Message When I try to initialize the database as follows:


*** Start ***


-bash-3.00$ /sbin/cinstall initdb
Traceback (most recent call last):
  File "/sbin/cinstall", line 191, in ?
  File "/sbin/cinstall", line 158, in main
  File "/usr/share/current/​db/__init__.py", line 28, in selectBackend
    import postgres
  File "/usr/share/current/​db/postgres/__init__​.py", line 3, in ?
    from postgres import PostgresDB
  File "/usr/share/current/​db/postgres/postgres​.py", line 3, in ?
    import pgdb
ImportError: No module named pgdb


*** Stop ***

I get an error message telling me that the module pgdb cannot be found.
Does anyone know why I get this message?