Open yankoval opened 3 years ago
As time goes by, and various packages get updated on conda-forge, more things will break. Here's a workaround until some of these versions are baked in.
Whilst this comment is not a solution, it's certainly a workaround until someone revisits the exact inter-package dependencies.
Using an earlier version of some of the modules seems to fix things arviz v0.7.0 xarray v0.13.0 don't have this issue.
With a LOT of trial and error (probably about 30 virtual environments created), this combination seems to work OK, at least as at Dec 14 2020:
Here's exactly how we install our environments that works with all of our tests:
conda create -n zip36 python=3.6 conda activate zip36 conda install -c conda-forge zipline pyfolio matplotlib-base=3.0.3 xarray=0.13.0 arviz=0.7.0 theano=1.0.3 mkl-service m2w64-toolchain conda install jupyter matplotlib=3.0.3 pip install norgatedata zipline-norgatedata
Note that there are still several patches required to get futures to work correctly, mixed futures/equities bundles, backtesting calendar limits, and some other ugliness/warnings, which we've documented here: https://pypi.org/project/zipline-norgatedata/
Cheers, Richard.
Thank you Richard. This solved the import problem. But unfortunately next problem appears: pyfolio reported about the problem with zipline.assets.
Raised error when import pyfolio
example:
Please provide the full traceback:
Please provide any additional information below:
Versions