I am having trouble running the pgu setup.py installation file on my Mac. The error I get when I run the file in IDLE is:
Traceback (most recent call last):
File "/Developer/Python/pgu-0.18/setup.py", line 72, in <module>
main()
File "/Developer/Python/pgu-0.18/setup.py", line 69, in main
setup(**setup_args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 140, in setup
raise SystemExit, gen_usage(dist.script_name) + "\nerror: %s" % msg
SystemExit: 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 am having trouble interpreting what the errors mean. Thanks.
I realize now that I’m supposed to run:
python setup.py install
However, I am running on a Mac. Running that piece of script in the terminal gives an error of not finding the file.
1 Answer