松鼠树屋

关注

xlrd.biffh.XLRDError: Excel xlsx file; not supported

松鼠树屋

关注

阅读 45

2023-01-04


1、问题描述

使用xlrd读取‘*.xlsx’文件的时候出现一下错误

xlrd.biffh.XLRDError: Excel xlsx file; not supported_解决方案

2、解决方案

实际上那个是xlrd的版本问题,当前最新版xlrd是‘2.0.1’的,只支持‘*.xls’格式文件,把xlrd版本降低到’1.2.0’就行了

pip install xlrd==1.2.0

3、参考资料


相关推荐

前程有光

pandas无法打开.xlsx文件,xlrd.biffh.XLRDError: Excel xlsx file; not supported

前程有光 31 0 0

Gaaidou

Python+Excel:xlrd.biffh.XLRDError: Excel xlsx file; not supported,两种解决方案

Gaaidou 352 0 0

像小强一样活着

vue:write-excel-file页面文字转为xlsx文件

像小强一样活着 10 0 0

Python芸芸

python利用xlrd库处理Excel

Python芸芸 9 0 0

书呆鱼

python+xlrd+xlwt操作excel

书呆鱼 165 0 0

兮城

XLRDError: Unsupported format, or corrupt file: Expected BOF record; found

兮城 50 0 0

Sky飞羽

python中xlrd读取xlsx读取异常的处理方法

Sky飞羽 80 0 0

青鸾惊鸿

Python 操作Excel(xlrd和XlsxWrite)

青鸾惊鸿 39 0 0

汤姆torn

优雅处理Python 使用xlrd 读取 Excel 报错:xlrd.compdoc.CompDocError

汤姆torn 38 0 0

40dba2f2a596

[vue] 导入excel文件 XLSX

40dba2f2a596 46 0 0

精彩评论(0)

0 0 举报