RuntimeError: The current Numpy installation (‘D:\\Program Files\\python37\\lib\\site-packages\\nump

阅读 46

2022-07-18


项目场景:

pip install numpy
import numpy

RuntimeError: The current Numpy installation (‘D:\Program Files\python37\lib\site-packages\numpy\init.py’) fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86

解决方案:

numpy的版本太新了,是1.19.4,使用1.19.3版本

pip install numpy==1.19.3


精彩评论(0)

0 0 举报