Importing the multiarray numpy extension module failed. Most likely you are trying to import a fail

ImportError: Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed build of numpy. If you're working with a numpy git repo, try `git clean -xdf` (removes all files not under version control). Otherwise reinstall numpy. Original error was: DLL load failed:

anaconda创建的python=3.6环境下,使用conda list 发现2个numpy,一个是<pip>安装,另一个清华镜像安装,pip uninstall numpy    conda remove numpy先删除再安装conda install numpy,然而并不好用

原因:版本问题

解决方案:

全部删除之后,

conda upgrade numpy

解决!

如果是pip安装的,直接pip install --upgrade numpy

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容