mac更换pip国内源

悠悠 2022-12-02 01:12 385阅读 0赞

全局更改:

  1. cd ~
  2. mkdir .pip
  3. cd .pip
  4. vi pip.conf

写入配置:

  1. [global]
  2. index-url = http://mirrors.aliyun.com/pypi/simple/
  3. [install]
  4. trusted-host = mirrors.aliyun.com

发表评论

表情:
评论列表 (有 0 条评论,385人围观)

还没有评论,来说两句吧...

相关阅读