2、换源命令

    临时:pip命令+ -i  +镜像地址。例如 pip install numpy -i https://mirrors.aliyun.com/pypi/simple/

    永久:在更新到最新版本pip后,pip config set global.index-url+国内镜像地址,例如  

    pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
————————————————
版权声明:本文为CSDN博主「潇雪凌宇」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_44407699/article/details/104769272

 

相关文章:

  • 2021-12-13
  • 2021-07-27
  • 2021-06-23
  • 2021-10-05
  • 2021-07-05
  • 2022-01-12
  • 2021-12-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2021-08-23
  • 2021-12-29
  • 2022-12-23
  • 2021-10-18
相关资源
相似解决方案