pip increase download speed

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/weixin_44925501/article/details/102764688
  • When we download, the link is abroad, so the download speed is very slow. This time, we can use a mirror to download the source.

We normally download is this: pip install the package name
using a mirror like this: pip install -i mirror source package names

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

  • A bunch of mirror source

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

Ali cloud: http: //mirrors.aliyun.com/pypi/simple/

China University of Science and Technology https://pypi.mirrors.ustc.edu.cn/simple/

Huazhong University of Science: http: //pypi.hustunique.com/

Shandong University of Technology: http: //pypi.sdutlinux.org/

Watercress: http: //pypi.douban.com/simple/

Guess you like

Origin blog.csdn.net/weixin_44925501/article/details/102764688