报错信息
Python加载xlsx文件时,遇到:
xlrd.biffh.XLRDError Excel xlsx file; not supported
错误原因
报错翻译过来是:
xlrd.biffh.xlrd错误:Excel xlsx文件;不受支持
解决方案
方法1:安装指定低版本的xlrd,执行下面的pip安装命令即可:
pip install xlrd==1.2.0
方法2:Excel另存为的时候将后缀改为
.xls
文件,再修改代码的文件后缀即可,高版本的xlrd模块依旧支持读取.xls文件
- XLRDError supported Python Excel biffhxlrderror supported python excel excel xlrderror supported文件 xlrderror supported pycharm文件 xlrd xlrderror supported模块 biffh supported python longer is importerror supports python3 openssl valueerror multiline supported python xlrderror 第三方supported platform python