pip安装使用清华大学镜像

最近需要安装一些库,但安装速度很慢且很容易断开,这里记录一下pip安装库的时候使用清华镜像。

清华镜像地址

https://pypi.tuna.tsinghua.edu.cn/simple

使用

假设要安装vedo库,则在原来安装语句上添加-i和镜像地址即可。

pip install vedo -i https://pypi.tuna.tsinghua.edu.cn/simple
原文地址:https://www.cnblogs.com/xiaxuexiaoab/p/13977570.html