使用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即可