Is the file you're trying to open .xlsx or .xls? Do you have
python3-openpyxl installed? If .xlsx and no, try installing it.
(python3-)xlrd 2.0+ can only open .xls files, not .xlsx. Hence, pandas
1.5+ read_excel() always uses (python3-)openpyxl for .xlsx files.
python3-pandas already Recommends python3-openpyxl. (This intentionally
isn't a hard Depends because pandas can be used on other data formats
without it, but the error message probably should point to openpyxl not
xlrd.)
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers