Re: Installing SpamBayes on MAC OS X 10.8.5
Skip Montanaro <[email protected]> Fri, 18 Oct 2013 12:54:54 -0500
| Newsgroups | gmane.mail.spam.spambayes.general |
|---|---|
| Message-ID | <CANc-5UyH0e_D8dj7_Lz9xeeG6b-EJ05YVVkr_BU=QTjZUFSZSA@mail.gmail.com> |
> 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 _______________________________________________ [email protected] 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