>   File 
> "/Library/Python/2.7/site-packages/spambayes-1.1a6-py2.7.egg/spambayes/dbmstorage.py",
>  line 20, in open_dbhash
>     return bsddb.hashopen(*args)
> AttributeError: 'NoneType' object has no attribute 'hashopen'

SpamBayes is unable to import any variant of the bsddb module. It
looks like you are using the Apple-provided version of Python. On my
(much older) version of Mac OS X (Snow Leopard, 10.6.x), neither the
bsddb nor the bsddb3 modules are available. The bsddb185 module is
provided by Apple, but the underlying 1.85 version of Berkeley DB is
broken badly, and so not supported by SpamBayes.

Your best bet is probably to install bsddb3 from PyPI:

https://pypi.python.org/pypi/bsddb3/6.0.0

Skip
_______________________________________________
SpamBayes@python.org
https://mail.python.org/mailman/listinfo/spambayes
Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html

Reply via email to