原文:File "D:\python\lib\xlrd\__init__.py", line 170, in open_workbook raise XLRDError(FILE_FORMAT_DESCRIPTIONS[file_format]+'; not supported') xlrd.biffh.XLRDError: Excel xlsx file; not supported

使用pycharm导入xlrd模块打开excel: import xlrd data xlrd.open workbook filename 运行后提示: File D: python lib xlrd init .py , line , in open workbook raise XLRDError FILE FORMAT DESCRIPTIONS file format not suppor ...

2021-11-10 15:36 0 100 推荐指数:

查看详情

[Python]xlrd.biffh.XLRDError: Excel xlsx file; not supported

神奇~~帮几个同事安装配置python环境,突然跑着好好的一个脚本就跑不起来了。 可我自己却好好的,想不通,最后通过pip list检查了一下自己安装的库版本,找到了不同的地方。 我的电脑xlrd版本是1.2.0,给同事他们下载的是新的2.0.1,可能是是版本不兼容导致这个问题 ...

Thu Dec 17 00:20:00 CST 2020 9 14368
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM