Installing SpamBayes

Paul Prescod paul at prescod.net
Wed Jan 21 10:34:05 EST 2004


Dog at will.hunt wrote:

> Its my fault for not being clear on this.  I know how to change the
> directory on a command prompt in Windows.  I was speaking of the Python
> prompt (>>>).  Once I got that, I tried running the file but got this:
> 
> Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
> 
>>>>python setup.py install
> 
>   File "<stdin>", line 1
>     python setup.py install
>                ^
> SyntaxError: invalid syntax

You do not run the setup command from within Python. You do it from your 
Windows/Unix/Mac/DOS command line.

C:\>python setup.py install

  Paul Prescod






More information about the Python-list mailing list