[Spambayes] Installing the POP3 Proxy
kennypitt at hotmail.com
Fri Jan 23 09:07:45 EST 2004
Tony Meyer wrote:
>> I am having trouble installing the software for
>> Spambayes. I have installed Python 2.3, but when
>> I go to a command line this is the outcome: [...]
>> error: package directory 'spambayes' does not exist
> Did you definitely expand the archive correctly? In the same
> directory as the "setup.py" file, there should be another directory
> called "spambayes". Is that the case?
You might also try executing "setup.py" from the directory where you
extracted it instead of from your Python directory, which I believe is
what the original question indicated.
Many of the SpamBayes scripts have a lot of hocus pocus in them to
determine the correct path to use when searching for other modules, but
setup.py has none of that. If I'm not mistaken, you have to either
include the directory where you extracted SpamBayes in your PYTHONPATH
environment variable, or you have to make it the current directory
before you run setup.py.
More information about the Spambayes