Skip to content

xlrd, used by Pandas to read Excel files no longer supports .xlsx Excel workbook files #183

@wittregr

Description

@wittregr

Version of pMuTT
pmutt 1.2.21

Describe the bug
Version 2.0+ of xlrd no longer supports reading Excel .xlxs files. This is the default Excel workbook file for current Excel version. Pandas uses xlrd to read Excel files. Since current versions of Excel use the .xlsx format reading Excel sheets with pmut i/o fails.

To Reproduce
conda install xlrd (Will install v 2.0.1 which does not support .xlsx files)
use pmutt to read data from a spreadsheet

Additional context
Short term work arrounds:

  1. Save Excel spreadsheets using the Excel 97-2003 Workbook format. This will save in .xls format and should still be readable
  2. Install an older version of xlrd. conda install xlrd=1.2.0 There is a warning that this could introduce a security issue but it will continue to read .xlsx files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions