pip 源 更换

  1. cd ~
  2. mkdir .pip
  3. cd .pip
  4. vim pip.conf
  [global]
  index-url=https://pypi.tuna.tsinghua.edu.cn/simple
  trusted-host = pypi.tuna.tsinghua.edu.cn
posted @ 2023-02-06 15:21  染指未来  阅读(10)  评论(0)    收藏  举报