1. 程式人生 > >python3.6安裝matplotlib、numpy時報錯ImportError

python3.6安裝matplotlib、numpy時報錯ImportError

使用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版本,