error import _bsddb module

Falko Zurell falko.zurell at init.de
Mon Nov 29 07:05:44 EST 2004


Hi Newsgroup,

I installed a python 2.3.4 on my linux box and some Berkeley DB version 
(4.2.21 and 4.1.25). Then I installed also the BSDDB3 package for python 
linked against the given older version of DB.
The I tried to run a program (Current Servers cadmin) which makes 
oviously use of bsddb but this program keeps failing with this message:

 >./cadmin --help
Traceback (most recent call last):
   File "./cadmin", line 40, in ?
     import channel
   File "/opt/init/local/apps/current-1.4.4/share/current/channel.py", 
line 10, in ?
     import bsddb
   File 
"/opt/init/local/apps/python-2.3.4/lib/python2.3/bsddb/__init__.py", 
line 40, in ?
     import _bsddb
ImportError: No module named _bsddb
[ 01:02 ] wwwadm at rsh01=/opt/init/local/apps/current-1.4.4/sbin:


Has anyone an idea how I can fix this?

Thanks

Falko



More information about the Python-list mailing list