wi10 修改 pip源

使用国内源

  • 全局
  • win + R
  • 输入 %APPDATA% 回车
  • 新建 pip/pip.ini
  • 写入如下内容
[global]
index-url=https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=pypi.tuna.tsinghua.edu.cn
disable-pip-version-check = true
timeout = 6000
posted @ 2022-11-08 21:29  vx_guanchaoguo0  阅读(25)  评论(0编辑  收藏  举报