美文网首页我爱编程
Importing the multiarray numpy e

Importing the multiarray numpy e

作者: z_1900 | 来源:发表于2018-03-03 18:46 被阅读0次

    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

    相关文章

      网友评论

        本文标题:Importing the multiarray numpy e

        本文链接:https://www.haomeiwen.com/subject/fvcxfftx.html