Python報錯: RuntimeError: The current Numpy installation (‘D:\\Develop\\anaconda\\lib\\site-packages\'

Python報錯: RuntimeError: The current Numpy installation (‘D:\Develop\anaconda\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

在這裏插入圖片描述

錯誤信息python

RuntimeError: The current Numpy installation (‘D:\Develop\anaconda\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/y3dm3h86windows

解決辦法:
anacondaprompt命令行窗口下運行:
this

pip install numpy==1.19.3

參考網址:
https://stackoverflow.com/questions/64654805/how-do-you-fix-runtimeerror-package-fails-to-pass-a-sanity-check-for-numpy-an
url

在這裏插入圖片描述
成功。
spa

相關文章
相關標籤/搜索