文章目录
前言
读取excel文件时报错:Missing optional dependency ‘xlrd’. Install xlrd >= 1.0.0 for Excel support,已解决,如有错误,请纠正,万分感谢!
Missing optional dependency ‘xlrd’. Install xlrd >= 1.0.0 for Excel support 解决方案
- 安装xlrd的库
pip install xlrd -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host=mirrors.aliyun.
com/pypi/simple
- 在代码中引入xlrd库。
import xlrd