widows系统下,python中安装matplotlib

 

如图所示的命令:python -m pip install matplotlib

在安装过程中如果出现安装失败(出现大量红字,注意检查网络是否有效)

widows系统下,python中安装matplotlib

 

                     

图1 安装失败(安装的时候安装好多次都失败,后面在夜深人静的时候试了一次,就安装成功了)

widows系统下,python中安装matplotlib

 

                                                                                            图2 安装成功