Skip to content

xlrd no longer supports xlsx, unhelpful error #2823

Closed
@kajuberdut

Description

@kajuberdut

Without pinning an old version of xlrd, fread on an xlsx file will report "AttributeError: module 'xlrd' has no attribute 'xlsx'"

  • How to reproduce the bug?
import datatable as dt


path = "some xlsx path"
return dt.fread(path)

  • What was the expected behavior?
    An error specifying that xlrd must be version 1.2.0 to read xlsx files (like the error if xlrd is not installed).

  • Environment:
    python 3.8.3, xlrd 2.0.0, datatable 0.11.1

Suggested workaround: install xlrd==1.2.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions