Python:numpy 1.19.4没有名为numpy.testing.decorators的模块

2024-04-24 06:03:24 发布

您现在位置:Python中文网/ 问答频道 /正文

最近,在安装另一个新模块时,我将numpy更新为1.19.4版,将scipy更新为1.5.4版

我现在收到一条错误消息,上面说:

from numpy.testing.decorators import slow #noqa
>>> ModuleNotFoundError: No module named 'numpy.testing.decorators'

我不知道如何解决这个问题。这和更新有什么关系吗

我在《水蟒》中使用Spyder


Tags: 模块nofromimportnumpydecorators消息错误