Die*_*uro 1 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
Run Code Online (Sandbox Code Playgroud)
很奇怪,因为我找不到isnat文档。我的numpy版本是1.14.0,这似乎是唯一无法从加载的库.umath。
小智 5
我有同样的问题,同样使用/sf/answers/2825639351/的命令重新安装也无济于事。
但是,我可以通过以管理员身份从命令提示符运行以下命令来导入numpy:
pip install -U --force-reinstall numpy
Run Code Online (Sandbox Code Playgroud)
不知道为什么会这样,但是现在在我的IDE中加载了numpy。我从https://github.com/dwhswenson/contact_map/blob/master/docs/installing.rst获得了命令
| 归档时间: |
|
| 查看次数: |
4262 次 |
| 最近记录: |