使用国内源快速下载Python包,以matplotlib为例

pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple

将matplotlib替换为其他包名称亦可。几秒钟就可以下载完。