matplotlib是一个画图功能强大的python库,我们用清华源下载可以非常快
打开Anaconda prompt
激活我们所要安装matplotlib所在的环境,例如我要装在名为tensorflow的环境下面
activate tensorflow
设置pip默认网址为清华镜像源清华镜像网站官方说明
pip install pip -U
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
然后运行pip指令安装
pip install matplotlib
安装完成
全部截屏如下: