Aug-29-2018, 12:20 AM
(This post was last modified: Sep-02-2018, 07:25 PM by Gribouillis.)
Hi I am new to python.
on Mac terminal I am trying to install a step.py program, but get the message
on Mac terminal I am trying to install a step.py program, but get the message
Output:macbooks-MacBook:IBJts macbook$ install ~/downloads/twsapi_macunix/IBJts/source/pythonclient/setup.py
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
macbooks-MacBook:IBJts macbook$
if I use Python 3 (sublime text ), I get there messageError:Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 134, in setup
ok = dist.parse_command_line()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/setuptools/dist.py", line 347, in parse_command_line
result = _Distribution.parse_command_line(self)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/dist.py", line 490, in parse_command_line
raise DistutilsArgError("no commands supplied")
distutils.errors.DistutilsArgError: no commands supplied
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/macbook/Downloads/twsapi_macunix-2/IBJts/source/pythonclient/setup.py", line 22, in <module>
description='Python IB API'
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 136, 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 com
What do the two mean? thanks