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.

link|improve this question
feedback

3 Answers

up vote 4 down vote accepted

Try the following command:

python setup.py install
link|improve this answer
feedback

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

python setup.py --help
link|improve this answer
feedback

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
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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