I don't consider the lack of .xls in pandas worth a freeze exception,
but consider it reasonable for others to disagree with that.
As noted in the bug, there are some (possibly not-technically-valid)
.xlsx files that xlrd 1 can open but openpyxl can't - _pandas_ won't be
able to open those
Control: reassign -1 python3-xlrd
Control: affects -1 python3-pandas
Control: retitle -1 pandas can't open xls (not xlsx) files, xlrd too old
Then yes, you do need xlrd. As Debian is currently in freeze, I suggest
installing it from PyPI (warning, this doesn't automatically install
security
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
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 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.
>
>
Package: python3-pandas
Version: 1.5.3+dfsg-1
Severity: normal
Dear Maintainer,
When attempting to use pandas read_excel function I get the following error
message:
ImportError: Pandas requires version '2.0.1' or newer of 'xlrd' (version
'1.2.0' currently installed).
xlrd 1.2 appears to be
5 matches
Mail list logo