3

After installing zipline with pip, I can't run:

zipline run --help

on my OSX terminal. It says:

-bash: zipline: command not found

What am I doing wrong?

4

1 回答 1

3

如果您可以在 Python 中导入,则可以使用参数从命令行运行它-m::

python -m zipline

-m mod:将库模块作为脚本运行(终止选项列表)

于 2017-01-23T00:29:11.577 回答