zipline-live / zipline

Zipline-Live, a Pythonic Algorithmic Trading Library
http://www.zipline-live.io/
Apache License 2.0
394 stars 65 forks source link

Pipenv can't cleanly install zipline-live[ib] because of version conflicts with pandas #110

Open rcludwick opened 6 years ago

rcludwick commented 6 years ago

Description of Issue

Pandas-datareader wants pandas>19.2, but pandas is specfied >=18.1, <0.19. This prevents pipenv from generating a pipfile.lock.

Probably the easiest fix is to remove the <0.19 specification on pandas, since pandas-datareader requires >19.2.

$ pipenv install zipline-live[ib] Could not find a version that matches pandas<0.19,>=0.16.1,>=0.18.1,>=0.19.2

`$ pipenv graph zipline-live==1.1.0.5

jasonsears commented 5 years ago

I ran into this same issue after resolving a panda-datareaders issue where pandas.testing is missing. I resolved both by first forcing the pandas-datareaders version and then the pandas version with these two commands:

pip install --upgrade pandas-datareader==0.6.0 pip install --upgrade pandas==0.18.1

Other than this slight hiccup, I've been able to get zipline to execute.