AttributeError: module 'scipy.misc' has no attribute 'imread'

运行代码报错:

AttributeError: module 'scipy.misc' has no attribute 'imread'

配置

tensorflow=1.2.1
scipy=1.3.2
python=3.5

解决方法:

安装pillow库

pip install pillow
#版本为6.2.1

scipy库降级

pip install scipy==1.2.1

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章