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

2 Likes

Hi @soleil, you can check out this thread: Zipline library importation not working - Technical Help - QuantRocket Support Forum for the solution of your query.

Thanks :grinning: