且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法导入 scipy.misc.imread

更新时间:2023-02-26 19:06:37

如果您安装了 Pillowscipy 并且它仍然给您错误,请检查您的 scipy 版本,因为它从 1.3.0rc1 开始从 scipy 中删除.

If you have Pillow installed with scipy and it is still giving you error then check your scipy version because it has been removed from scipy since 1.3.0rc1.

而是通过安装scipy 1.1.0:

rather install scipy 1.1.0 by :

pip install scipy==1.1.0

检查 https://github.com/scipy/scipy/issues/6212