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_pal...@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.)

Reply via email to