Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zipline command line interface does not work after installation

Tags:

python

zipline

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?

like image 987
Mariska Avatar asked Nov 18 '25 15:11

Mariska


1 Answers

If you can import in Python you can run it from the command line with the -m argument::

python -m zipline

-m mod : run library module as a script (terminates option list)

like image 50
Mike Müller Avatar answered Nov 20 '25 04:11

Mike Müller



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!