ImportError: Missing optional dependency 'xlrd'. Install xlrd >= 1.0.0 for Excel support Use pip or conda to install xlrd.
时间: 2023-11-05 15:12:27 浏览: 179
导入tensorflow:ImportError: libcublas.so.9.0 报错
5星 · 资源好评率100%
This error message is indicating that the package 'xlrd' is not installed, which is required for working with Excel files. To resolve this issue, you need to install the 'xlrd' package using pip or conda.
If you are using pip, you can install 'xlrd' by running the following command in your terminal:
```
pip install xlrd
```
If you are using conda, you can install 'xlrd' by running the following command in your terminal:
```
conda install -c anaconda xlrd
```
After installing 'xlrd', try running your program again. It should work without any issues.
阅读全文