在用pip下载第三方包时,若没有更改pip源,或者仅下载一次时可以临时指定下载源

 

#-i参数加上源即可
pip install xxx -i https://pypi.tuna.tsinghua.edu.cn/simple #清华大学镜像

 

附:常用的pip源

https://pypi.tuna.tsinghua.edu.cn/simple  #清华大学
http://mirrors.aliyun.com/pypi/simple/ #阿里云
http://pypi.douban.com/simple/ #豆瓣

 

相关文章:

  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
  • 2022-03-06
  • 2021-07-22
猜你喜欢
  • 2022-12-23
  • 2021-12-30
  • 2022-12-23
  • 2022-02-08
  • 2022-12-23
  • 2021-10-22
  • 2022-01-24
相关资源
相似解决方案