Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I checked out a SVN repository, and tried to python setup.py on my Ubuntu 10.04 terminal, which is a Python script, but I get the following error:

abc@def:~/Downloads/a-read-only$ python setup.py  
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]  
   or: setup.py --help [cmd1 cmd2 ...]  
   or: setup.py --help-commands  
   or: setup.py cmd --help

error: no commands supplied

I have no experience with Python, so any help I could get would be appreciated.

share|improve this question
up vote 4 down vote accepted

Try the following command:

python setup.py install
share|improve this answer

looks like you need to add a "cmd1".
to find out what that is, type

python setup.py --help
share|improve this answer

Well you could use terminal command to install python from Ubuntu. Try using:

sudo apt-get install python3

After Python has successfully installed. You could run the python terminal by typing 'python3' into the terminal and check if the command works. Or you could run the python scripts using:

python3 myfile.py
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .