报错:

ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOw To SoLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen formany reasons,often due to issues with your setup or how NumPy wasinstalled.
we have compiled some common reasons and troubleshooting tips at:
https : / / numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
    * The Python version is: Python3.6 from "D: \software\package\anaconda3\envs\test\python.exe"* 
    * The NumPy version is: "1.19.35"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
original error was: DLL load failed:找不到指定的模块。

解决方法是卸载重新安装

conda uninstall numpy
conda install numpy==1.19.5

安装遇到问题请参考我的另一篇文章:

numpy安装ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: ‘C:\\Users\\MyPC\\.c-CSDN博客

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐