错误提示:Missing optional dependency ‘xlrd‘. Install xlrd >= 1.0.0 for Excel support Use pip or conda

raise ImportError(msg) from None
ImportError: Missing optional dependency 'xlrd'. Install xlrd >= 1.0.0 for Excel support Use pip or conda to install xlrd.

cmd.exe中输入:pip install xlrd

重新运行python,提示以下错误:

ValueError: Your version of xlrd is 2.0.1. In xlrd >= 2.0, only the xls format is supported. Install openpyxl instead.

cmd.exe中输入:pip install openpyxl

错误提示:Missing optional dependency ‘xlrd‘. Install xlrd >= 1.0.0 for Excel support Use pip or conda_第1张图片

 

你可能感兴趣的:(python)