Bug#1031701: python3-pandas: Pandas requires version '2.0.1' or newer of 'xlrd'
Christopher Jones
chris at brasskipper.org.uk
Mon Feb 20 21:53:59 GMT 2023
Hi,
Sadly they really are .xls files rather than the more slightly more sane .xlsx.
Thanks!
—
Chris
> On 20 Feb 2023, at 22:39, Rebecca N. Palmer <rebecca_palmer at zoho.com> wrote:
>
> 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.)
More information about the debian-science-maintainers
mailing list