Bug#1031701: python3-pandas: Pandas requires version '2.0.1' or newer of 'xlrd'

Rebecca N. Palmer rebecca_palmer at zoho.com
Mon Feb 20 21:39:13 GMT 2023


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