ModuleNotFoundError: No module named 'zipline.api'; 'zipline' is not a package
I get the following error:
Traceback (most recent call last):
File "/Users/ryanalex/Dropbox/Python/Maschine_Learning_Jansen/zipline_tutorial.py", line 1, in <module>
from zipline.api import order_target, record, symbol
File "/Users/ryanalex/Dropbox/Python/Maschine_Learning_Jansen/zipline.py", line 12, in <module>
from zipline.api import (
ModuleNotFoundError: No module named 'zipline.api'; 'zipline' is not a package
Process finished with exit code 1
However you can clearly see that Zipline_reloaded is installed. This appears to be a pycharm issue. I tried to install this package on both my Mac and Windows machines with the same error. I also tried uninstalling and reinstalling different versions with the same results.
Please sign in to leave a comment.
I resolved this issue.