【发布时间】:2019-04-24 14:46:03
【问题描述】:
我正在尝试在 Spyder Anaconda 中运行一些代码。我认为它就像在代码中看到的那样简单地导入它,但我收到一条错误消息:
ModuleNotFoundError:没有名为“image_registration”的模块
我知道这意味着 image_registration 不包含在 Spyder 已有的内容中,但我不知道如何添加它。
from image_registration import chi2_shift
from image_registration.fft_tools import shift
【问题讨论】:
-
您使用的是哪个操作系统?