当前位置:   article > 正文

ImportError: cannot import name 'imread' from 'scipy.misc'

importerror: cannot import name 'imread' from 'scipy.misc

ImportError: cannot import name 'imread' from 'scipy.misc' 

是由于 `imread` is deprecated in SciPy 1.0.0, and will be removed in 1.2.0.
Use ``imageio.imread`` instead.

处理方法: 首先pip3 install imageio;

然后 import imageio

代码里imageio.imread()处理

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/648637
推荐阅读
相关标签
  

闽ICP备14008679号