分析原因:原因是最近xlrd更新到了2.0.1版本,只支持.xls文件 解决方法: 可以安装旧版xlrd,在cmd中运行: pip uninstall xlrd pip install xlrd==1.2.0