anydbm on RH6

Ken Kinder ken at _nospam_ken.x13.com
Wed May 26 01:04:05 EDT 1999


"David M. Cook" wrote:
> 
> I'm getting the following error when trying to use anydbm on a RedHat 6
> system. Is anyone else having the same problem?
> 
> >>> import anydbm
> >>> file = anydbm.open("foo")
> Traceback (innermost last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib/python1.5/anydbm.py", line 54, in open
>     return _mod.open(file, flag, mode)
>   File "/usr/lib/python1.5/dbhash.py", line 8, in open
>     return bsddb.hashopen(file, flag, mode)
> bsddb.error: (2, 'No such file or directory')

It probably isn't part of the standard distribution.  With debian,
that's a totally seporate package.  I'm sure it's the same case with Red
Hat - look around in the RH distro, if it's not there, check RH's ftp
server in the contrib section.




More information about the Python-list mailing list