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

主要緣由是我install的scipy版本是1.4.0的,只有1.0.0版本如下的纔有imread和imwrite屬性。 解決方案: 一、卸載以前的scipy:pip uninstall scipy 二、下載1.0.0版本:pip install scipy==1.0.0 三、或者下載1.2.0版本的同時再配置pillow:python pip install scipy==1.0.0 pip i
相關文章
相關標籤/搜索