admin管理员组文章数量:1612097
文章目录
- Python报错(Anaconda或者PyCharm): 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/y3dm3h86
Python报错(Anaconda或者PyCharm): 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/y3dm3h86
错误信息
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/y3dm3h86
解决办法:
在anaconda
的prompt
命令行窗口下运行:
pip install numpy==1.19.3
参考网址:
https://stackoverflow/questions/64654805/how-do-you-fix-runtimeerror-package-fails-to-pass-a-sanity-check-for-numpy-an
成功。
如果在PyCharm中出现同样的报错:
那就在File
– Setting
– Project
(就是当前的Project)中,修改Python Interpreter
,点击+号,搜索numpy
,但是注意这里的版本后需要修改一下。
修改成1.19.3
即可。
又成功了!
本文标签: 报错CurrentnumpyPythonRuntimeError
版权声明:本文标题:Python报错: RuntimeError: The current Numpy installation (‘D:\Develop\anaconda\lib\site-packages\ 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1728629995a1166972.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论