燃烧石头

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

python用xlrd模块读取xlsx格式表格的时候报Excel xlsx file; not supported错误。

pip install xlrdm

默认安装的2.0.1最新版,这个版本只支持xls格式的表格,需要先卸载然后安装1.2.0版本的xlrd模块。

pip uninstall xlrd

pip install xlrd==1.2.0

posted on 2021-08-25 23:46  燃烧石头  阅读(45)  评论(0编辑  收藏  举报