-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace use of xlrd with openpyxl #86
Comments
This was referenced Jan 12, 2021
A quick ugly fix would be to pin the version of xlrd to <= 2.0.0 |
For those waiting for a new version of the package that fixes this, you can use conda or pip to downgrade the xlrd package with:
or
|
xlrd is used in the following places:
|
Fixed in 0.8 release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As noted on the ReadTheDocs page,
xlrd
will no longer support the reading of .xlsx files as of version 2.0 (shipped the 11th of december).In response, the newer version of pandas have switched from using xlrd to openpyxl.
I would suggest going with the flow and swapping out excel-reading packages. As the current implementation causes
create_default_lcia_methods()
to fail when the newest version of xlrd is installed.Relevant code:
brightway2-io/bw2io/data/__init__.py
Lines 35 to 37 in 388e2ea
The text was updated successfully, but these errors were encountered: