Closed Keabla closed 2 years ago
See this issue This is because Turkey name has changed in the iso3166 package To avoid this issue you can force usage of a previous version of the package.
pip install iso3166==2.0.2
Further to this, if you're using conda there is a slightly different workaround, detailed in #114
Addressed by #117
Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment
Now that you know a little about me, let me tell you about the issue I am having:
Description of Issue
Once I download zipline through the command "conda install -c ml4t zipline-reloaded", I try to import the package and I get the error "KeyError: TURKEY". It seems that python is having an issue reading something.
What steps have you taken to resolve this already?
I have tried to download and import the package through both mamba and conda, and for different Python Version: 3.6, 3.7, 3.8, 3.9.
Sincerely,
$ Nitram