Python错误:";ImportError:无法导入名称isnat";

Python错误:";ImportError:无法导入名称isnat";,python,numpy,pip,vpython,Python,Numpy,Pip,Vpython,Python抛出以下错误: File "C:\Python27\Lib\site-packages\numpy\core\arrayprint.py", line 42 from .umath import absolute, not_equal, isnan, isinf, isfinite, isnat ImportError: cannot import name isnat 这很奇怪,因为我没有找到isnat文档。我的numpy版本是1.14.0,这似乎是唯一一个无法从加

Python抛出以下错误:

File "C:\Python27\Lib\site-packages\numpy\core\arrayprint.py", line 42
    from .umath import absolute, not_equal, isnan, isinf, isfinite, isnat   
ImportError: cannot import name isnat

这很奇怪,因为我没有找到
isnat
文档。我的numpy版本是1.14.0,这似乎是唯一一个无法从
加载的库。umath
我也有同样的问题,同样地,使用中的命令重新安装也没有帮助

但是,通过以管理员身份从命令提示符运行以下命令,我可以让numpy导入:

pip install -U --force-reinstall numpy

我不知道为什么会这样,但是现在我的IDE中加载了numpy。我从

获得了命令,我也遇到了同样的问题,同样地,使用来自的命令重新安装也没有帮助

但是,通过以管理员身份从命令提示符运行以下命令,我可以让numpy导入:

pip install -U --force-reinstall numpy

我不知道为什么会这样,但是现在我的IDE中加载了numpy。我从

中获得了命令。我已经完成了,但没有成功。谢谢,这是有记录的。试试看,我已经做过了,但是没有用。谢谢,这是有记录的。