Windows环境下Python 3.6.6安装matplotlib

1、先在https://developer.microsoft.com/zh-cn/windows/downloads下载Visual Studio Comunity;
2、准备安装Visual Studio Comunity时,提示如下This application requires.Net Framework 4.6 or higer to be installed.Please install
the lasts.NET Framework from https://go.microsoft.com/fwlink/?linkid=804938 or Windows Update;
3、下载.NET Framework 4.7版本;
4、安装.NET Framework安装失败,Windows环境下Python 3.6.6安装matplotlib,点击update,下载Windows6.1-KB4019990-x64.msu,进行安装,再安装.NET Framework;
5、安装Visual Studio Comunity
6、参考网上教程分别下载numpy和scipy,但是因为这两个
文件下载均失败,决定参考其他教程进行安装,把要安装的matplotlib-2.2.3-cp36-cp36m-win_amd64.whl文件放到Python安装目录的Scripts下,打开cmd,切换至Scripts文件夹下,使用
matplotlib:python -m pip install –user matplotlib-2.2.3-cp36-cp36m-win_amd64.whl回车,进行安装;
7、安装完成后打开Python验证一下,看是否报错。Windows环境下Python 3.6.6安装matplotlib