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 uninstall numpy    conda remove numpy先删除再安装conda install numpy,然而并不好用

原因:版本问题

解决方案:

全部删除之后,

conda upgrade numpy

解决!

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

你可能感兴趣的:(Importing the multiarray numpy extension module failed. Most likely you are trying to import a fail)