ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

pip 国内镜像源

直接使用pip安装,由于连接国外,很慢,并且经常断链,导致无法正常安装扩展包。所以使用-i参数,指向国内源。

阿里的还是挺好用的:

https://mirrors.aliyun.com/pypi/simple/

例如:

pip install -i https://mirrors.aliyun.com/pypi/simple/ --upgrade pip

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2021-07-08
  • 2021-09-24
  • 2021-08-05
  • 2021-09-17
  • 2021-09-25
猜你喜欢
  • 2021-06-22
  • 2022-02-20
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案