【发布时间】:2017-11-29 18:44:18
【问题描述】:
我在 anaconda 中导入了 scipy,我打电话给:
from scipy import misc
并调用:
data = misc.imread(/Users/Desktop...)
从您的桌面调用图像,但我收到错误消息:
NameError: name 'misc' is not defined
【问题讨论】:
-
imread is deprecated in SciPy 1.0.0, and will be removed in 1.2.0. Use imageio.imread instead.- 我知道它不能回答问题,但你可以试试。