diff --git a/help/_posts/1970-01-01-pypi.md b/help/_posts/1970-01-01-pypi.md index 7e184e9..71341e6 100644 --- a/help/_posts/1970-01-01-pypi.md +++ b/help/_posts/1970-01-01-pypi.md @@ -30,3 +30,15 @@ pip config set global.index-url https://{{ site.pypi }}/simple ``` python -m pip install -i https://{{ site.pypi }}/simple --upgrade pip ``` + +### 配置多个镜像源 + +如果您想配置多个镜像源平衡负载,可在已经替换 `index-url` 的情况下通过以下方式继续增加源站: + +``` +pip config set global.extra-index-url " ..." +``` + +请自行替换引号内的内容,源地址之间需要有空格 + +可用的 `pypi` 源列表(校园网联合镜像站):