anydbm on RH6
David M. Cook
davecook at home.com
Thu May 27 21:16:07 EDT 1999
On Tue, 25 May 1999 23:04:05 -0600, Ken Kinder <ken at _nospam_ken.x13.com>
wrote:
>"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,
Oops. I needed to use the "c" flag to create the file.
Dave Cook
More information about the Python-list
mailing list