【发布时间】:2019-12-10 01:22:51
【问题描述】:
运行时:
import scipy
scipy.ndimage.imread('path/to/image',mode='RGB')
我明白了
AttributeError: module 'scipy.ndimage' has no attribute 'imread'
我已经尝试卸载并重新安装 scipy 并重新安装 Pillow 和 numpy,如 there 所说
是否缺少某些模块?
【问题讨论】:
-
imread 自 1.2 起已被弃用和删除。您使用的是哪个版本的 scipy?
标签: python scipy pip python-module