Reputation: 133
I installed zipline package via Enthought Cantopy. Now I try to run a script using it in command prompt, but get error ImportError: No module named zipline
.
I also tried to run the same code using IPython, with the same output.
I think it is related to python virtual environments, but don't know how to fix that.
Upvotes: 3
Views: 3681
Reputation: 487
The latest Zipline-Trader version was released. For stable version pip install zipline-trader
For more info follow docs for installation.
Upvotes: 0
Reputation:
These are the Requirements/ Steps to Make Zipline Work:
$conda create -n python34 python=3.4 anaconda
(replace py34 with the location of python34 folder)$activate python34
#Activates the python 3.4 environment$pip install -e C:\GitHub\zipline
(Directory where you extracted zipline)$zipline ingest
Hope this helps others who visit this page!
Upvotes: 0
Reputation: 133
I figured it out. The problem was in the version of python I have. I have 32-bit python and Enthought Cantopy with 64 bit python, installed zipline
package was under 64 bit python while command prompt was using 32 bit version. Installing 64 bit python fixed the issue.
Upvotes: 2