python3.6安装matplotlib、numpy时报错ImportError

来源:互联网 发布:人工智能电影图片 编辑:程序博客网 时间:2024/06/16 06:18

使用pip install matplotlib成功,它自动会引入numpy的库,但运行  import matplotlib出现下面错误

ImportError:  Importing the multiarray numpy extension module failed.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 allfiles not under version control). Otherwise reinstall numpy.

原因是需要安装numpy+mkl版本,


去这个网站下载 http://www.lfd.uci.edu/~gohlke/pythonlibs/ 对应python版本的numpy+mkl即可


阅读全文
0 0
原创粉丝点击