> I have downloaded version 1.1a1, which I want to use with 
> procmail. When I run:
> python setup.py install
> I get a message:
> running install
> error: invalid Python installation: unable to open
> /usr/lib/python2.4/config/Makefile (No such file or directory)
> 
> I am running Mandrake, with python 2.4 (my python rpm is 
> python-2.4-5mdk).

You might need a "python devel" package.  Many linux distributions put
distutils in a separate "development" package of Python (which is pretty
stupid IMO).

[...]
> Can I just copy the required files manually? If so, what files (or
> directories) are needed to use spambayes with procmail?

You don't need to use distutils, no.  Put the spambayes directory (the one
with __init__.py in it) anywhere you like, and make sure that Python can
find it.  The easiest way to do that is make sure that the path to is in the
environment variable PYTHONPATH.  Then all you need is whatever scripts you
plan on running (e.g. sb_filter and sb_mboxtrain) and you can run them from
wherever you like.

=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.
http://www.massey.ac.nz/~tameyer/writing/reply_all.html explains this. 

_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html

Reply via email to