Closed ginward closed 7 years ago
Hi @ginward ! The latest empyrical release broke compatibility with zipline, so you can either downgrade empyrical to 0.2.2 or install the compatibility branch of zipline that hasn't been merged to master yet.
Thanks. It seems that I can use conda instead to install it.
This is still an issue on empyrical 0.5.3
Hi @sokol11 , information_ratio
was removed from empyrical and then from zipline in v1.1.1 (released July 5, 2017). It sounds like you have an old version of zipline that still depends on information_ratio
.
Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment
python --2.7.13
64
pip
)Now that you know a little about me, let me tell you about the issue I am having:
ImportError: cannot import name information_ratio
I was simply importing zipline and then it throws and error: ImportError: cannot import name information_ratio
Here is how you can reproduce this issue on your machine:
Reproduction Steps
import zipline.api
orimport zipline
orfrom zipline.api import order, record, symbol
python zip.py
What steps have you taken to resolve this already?
$ brew install freetype pkg-config gcc openssl
$ pip install zipline
$ pip install empyrical
...
Traceback
Sincerely,
Jinhua Wang