Windows下命令:pip install -i https://pypi.doubanio.com/simple/ 包名

上面的例子用的是豆瓣的镜像。

我个人喜欢使用中科大的镜像:https://mirrors.ustc.edu.cn/pypi/web/simple

例如安装pymsql:pip install -i https://mirrors.ustc.edu.cn/pypi/web/simple pymsql

很快就安装好。

附录:其他的镜像源:

1、清华大学

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

2、阿里

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

3、豆瓣

https://pypi.douban.com/simple

相关文章:

  • 2022-01-13
  • 2022-01-08
  • 2022-01-03
  • 2022-12-23
  • 2023-01-07
  • 2022-12-23
  • 2021-12-26
  • 2021-04-26
猜你喜欢
  • 2022-12-23
  • 2021-11-27
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案