[spambayes-dev] Newbie is well pythoned! Help!

Richie Hindle richie at entrian.com
Tue Aug 12 00:21:43 EDT 2003

Hi Mark,

> do the regular setup.py build; setup.py install dance,
> Well typing setup.py at the dos prompt produced "bad command or filename"

You need to start up a Command Prompt and do something like this:

> cd \temp\spambayes-1.0a4
> c:\python23\python setup.py install

You may need to tweak the commands to fit your machine, but those are the
steps of the dance on Win98.

The reason you can't just double-click setup.py is that it expects a
command-line argument ('install').  Where a script doesn't expect an
argument, and this includes pop3proxy.py, you should be able to just
double-click it.  However, if you do that, you might not see any errors
it outputs (not that pop3proxy ever causes any errors 8-) so even for
argumentless scripts, running them from a command prompt is a good idea.

The spambayes scripts, including pop3proxy.py, will be installed into
\python23\scripts (or its equivalent on your machine).  Don't run the
ones in \temp\spambayes-1.0a4 - you can delete that once you've
installed the software.

By the way, the "spambayes-dev" list is really for discussion of the
development of the spambayes code - the "spambayes" list is for
discussion of installation and usage.

Richie Hindle
richie at entrian.com

More information about the spambayes-dev mailing list