Import zipline not working

I have successfully installed zipline (zipline-reloaded) into PyCharm. However, I get the below error:

ModuleNotFoundError: No module named ‘zipline.api’; ‘zipline’ is not a package

I am importing it the following way:
from zipline.examples import buyapple
from zipline.api import order, record, symbol

even import zipline doesn’t seem to work.

My hunch is the name for the package is a bit different in Pycharm

1 Like