Mariska
Mariska

Reputation: 1953

Zipline command line interface does not work after installation

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?

Upvotes: 3

Views: 826

Answers (1)

Mike Müller
Mike Müller

Reputation: 85422

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)

Upvotes: 3

Related Questions