pythonvirtualenvzipline

zipline error. No module named zipline


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.


Solution

  • 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.