镜像下载加速的几种方法

github下载设置加速:

example:  git clone https://github.com/author/repo

replace:    git clone https://hub.fastgit.org/author/repo

 

pip下载设置加速:

 pip install 要安装的包 -i https://pypi.tuna.tsinghua.edu.cn/simple

比如说要安装selenium包,可以这样写:  pip install selenium -i https://pypi.tuna.tsinghua.edu.cn/simple

 

 

 

参考文档:

使用指南 | FastGit UK Document

pip安装使用清华源 - 简书 (jianshu.com)

 

posted @ 2021-11-17 10:34  濯尘~  阅读(125)  评论(0)    收藏  举报