python:新版xlrd报 Excel xlsx file; not supported

FLowUs邀请链接:https://flowus.cn/login?code=AXNU63
FlowUs邀请码:AXNU63


原因:xlrd更新到了2.0.1版本,只支持.xls文件,不支持.xlsx。
1.1.0 到 2.0.1 都不支持 xlsx 版本了

解决办法:安装旧版本

pip install xlrd==1.1.0
posted @ 2021-02-07 14:07  wbytts  阅读(475)  评论(0编辑  收藏  举报