[Spambayes] sb_notesfilter.py

Tony Meyer tameyer at ihug.co.nz
Sat Mar 20 00:45:03 EST 2004


> Ok.so I got the setup.py to run messages follow:
>
> C:\Python23\Tools\Scripts>c:\python23\python.exe "setup.py" install
[...]

Well, what I actually said was:

"""
Run the command

    C:\Python23\python.exe "D:\Program Files\Spambayes\setup.py" install
"""

If you run *that* command, rather than the one you did, you'll have more
luck.  However ...

> I have searched for any files named spambayes.* on my system
> and the only one found is a zip file.

There are no files starting with "spambayes." in the spambayes distribution.
Why are you looking for some?  What the "no module named" code is looking
for is a *directory* called "spambayes", which should really be in the
C:\Python23\Lib\site-packages directory.  This is what running the above
command will set up.

> I am quite sure that I have this setup wrong, but I'm not
> sure where to go from here.  Could someone please put together
> a step-by-step how-to setup for me?  This is becoming very tedious.

Step 1:  Run the command:
    C:\Python23\python.exe "D:\Program Files\Spambayes\setup.py" install

Step 2:  Use sb_notesfilter.py in whatever way it gets used (I really don't
know anything about using Lotus Notes).

=Tony Meyer

---
Please always include the list (spambayes at python.org) in your replies
(reply-all), and please don't send me personal mail about SpamBayes. This
way, you get everyone's help, and avoid a lack of replies when I'm busy.




More information about the Spambayes mailing list