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

Python:numpy 1.19.4没有名为numpy.testing.decorators的模块,python,numpy,importerror,Python,Numpy,Importerror,最近,在安装另一个新模块时,我将numpy更新为1.19.4版,将scipy更新为1.5.4版 我现在收到一条错误消息,上面说: from numpy.testing.decorators import slow #noqa >>> ModuleNotFoundError: No module named 'numpy.testing.decorators' 我不知道如何解决这个问题。这和更新有什么关系吗 我在Anaconda中使用Spyder,用于numpy版本1.19.4

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

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

from numpy.testing.decorators import slow #noqa
>>> ModuleNotFoundError: No module named 'numpy.testing.decorators'
我不知道如何解决这个问题。这和更新有什么关系吗


我在Anaconda中使用Spyder,用于numpy版本
1.19.4
decorators现在处于
\u private

from numpy.testing._private.decorators import slow

适用于numpy版本
1.19.4
decorators现在处于
\u private

from numpy.testing._private.decorators import slow

这是否回答了您的问题?这回答了你的问题吗?