Spambayes dependency conflicts with dnspython
|Reported by:||Ryan J Ollos||Owned by:||Ryan J Ollos|
|Priority:||normal||Milestone:||plugin - spam-filter|
Description (last modified by )
$ pip install dnspython Collecting dnspython Using cached dnspython-1.15.0-py2.py3-none-any.whl Installing collected packages: dnspython Successfully installed dnspython-1.15.0 $ python -c "import dns" $ pip install spambayes Collecting spambayes Collecting lockfile>=0.2 (from spambayes) Using cached lockfile-0.12.2-py2.py3-none-any.whl Collecting pydns>=2.0 (from spambayes) Installing collected packages: lockfile, pydns, spambayes Successfully installed lockfile-0.12.2 pydns-2.3.6 spambayes-1.1b2 $ python -c "import dns" Traceback (most recent call last): File "<string>", line 1, in <module> File "/Users/rjollos/Documents/Workspace/trac-dev/pve-spamfilter/lib/python2.7/site-packages/dns/__init__.py", line 14, in <module> import Type,Opcode,Status,Class ImportError: No module named Opcode
I edited SpamFilter@129 before determining that
pydns is required by
spambayes, so the suggestion of uninstall
pydns is not the right solution.
Oddly, I have these same package versions installed in a virtualenv hosting trac-hacks.org and don't see the conflict for that case.