我爱编程

Importing the multiarray numpy e

2018-03-03  本文已影响0人  z_1900

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

上一篇下一篇

猜你喜欢

热点阅读