matplotlib的下载和安装方法

官网:http://matplotlib.org/

Installation节

Visit the Matplotlib installation instructions.

Installing节

If you wish to contribute to the project, it’s recommended you install the latest development version.

Installing from source节

 Grab the latest tar.gz release file from the PyPI files page

 出现一个大列表,是各种操作系统和各种版本的匹配,找到适合你的就好。例如,win10 64位,python 3.6.3,选matplotlib-2.1.0-cp36-cp36m-win_amd64.whl

下载之后,复制到D:Python36Scripts目录下,在windows命令行下,转到D:Python36Scripts,运行pip install matplotlib-2.1.0-cp36-cp36m-win_amd64.whl

安装完毕

也可以通过python -m pip install -U pip setuptools和python -m pip install matplotlib进行自动安装

原文地址:https://www.cnblogs.com/Sabre/p/8007034.html