mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-26 05:02:48 +00:00
Merge branch 'wordlesswind-patch-1'
This commit is contained in:
commit
ea121877ea
|
|
@ -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 "<url1> <url2>..."
|
||||
```
|
||||
|
||||
请自行替换引号内的内容,源地址之间需要有空格
|
||||
|
||||
可用的 `pypi` 源列表(校园网联合镜像站):<https://mirrors.cernet.edu.cn/list/pypi>
|
||||
|
|
|
|||
Loading…
Reference in New Issue