Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79022

Fwd: How to install and run a script?

From Abhiram <abhi.darkness@gmail.com>
Subject Fwd: How to install and run a script?
Date 2014-10-13 01:58 +0530
References <9e37d62a-9391-44fc-8fa2-089ae81acfc5@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.14803.1413145722.18130.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Begin forwarded message:

> From: Ryan Shuell <ryanshuell@gmail.com>
> Subject: How to install and run a script?
> Date: 13 October 2014 1:47:58 am IST
> To: python-list@python.org
> 
> I'm an absolute noob to Python, although I have been programming in several other languages for over 10 years.
> 
> I'm trying to install and run some scripts, and I'm not having much success.
> 
> I followed the steps at this site.
> https://docs.python.org/2/install/
> 
> I have Python 2.7.6 Shell.
> 
> If I type this:
> python setup.py install
> 
> I get this:
> SyntaxError: invalid syntax
> 

Have you completed installation?
If you type “Python” in Cmd, or “Python” in terminal, do you get the Python prompt “>>>” ?
My guess is that your Python installation’s executable isn’t in the Windows / Linux $PATH variable. 
Give us more details so we can help you out further. :)

Thanks
Abhiram
“Py,Py,Py your boat. Gently down the IOstream"

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to install and run a script? Ryan Shuell <ryanshuell@gmail.com> - 2014-10-12 13:17 -0700
  Re: How to install and run a script? Chris Angelico <rosuav@gmail.com> - 2014-10-13 07:27 +1100
  Fwd: How to install and run a script? Abhiram <abhi.darkness@gmail.com> - 2014-10-13 01:58 +0530
  Re: How to install and run a script? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-12 21:35 +0100
  Re: How to install and run a script? ryguy7272 <ryanshuell@gmail.com> - 2014-10-12 19:05 -0700
    Re: How to install and run a script? Michael Torrie <torriem@gmail.com> - 2014-10-13 23:19 -0600
    Re: How to install and run a script? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-14 08:30 +0100
    Re: How to install and run a script? Dave Angel <davea@davea.name> - 2014-10-14 06:30 -0400

csiph-web