一、问题一
1.1问题描述
使用pandas.read_excel()函数读取2wdata1.xlsx文件里的数据,却报错ImportError: Missing optional dependency 'xlrd'. Install xlrd >= 1.0.0 for Excel support Use pip or conda to install xlrd.

1.2解决方案
打开Anaconda Prompt,进入对应的虚拟环境,使用命令行pip install xlrd安装相应的安装包

二、问题二
2.1问题描述
在上边的报错解决后,再次运行代码,报出新的错误XLRDError: Excel xlsx file; not supported
OK,I'm fine(苦笑.jpg)


最低0.47元/天 解锁文章
4050

被折叠的 条评论
为什么被折叠?



