Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

3 Answers 3

up vote 4 down vote accepted

Try the following command:

python setup.py install
share|improve this answer
add comment

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

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

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.