docs: Add Alibaba's high-bandwidth PyPI mirror for China

This commit is contained in:
Arcitec 2025-09-10 17:57:51 +02:00
parent 752df30549
commit 30848efd45
2 changed files with 6 additions and 1 deletions

View File

@ -174,9 +174,12 @@ will install the correct versions of all dependencies into your `.venv` director
uv sync --all-extras
```
If the download is slow, please try a *local mirror*, for example China:
If the download is slow, please try a *local mirror*, for example any of these
local mirrors in China (choose one mirror from the list below):
```bash
uv sync --all-extras --default-index "https://mirrors.aliyun.com/pypi/simple"
uv sync --all-extras --default-index "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
```

View File

@ -153,6 +153,8 @@ uv sync --all-extras
如中国大陆地区用户下载缓慢,可选用国内镜像:
```bash
uv sync --all-extras --default-index "https://mirrors.aliyun.com/pypi/simple"
uv sync --all-extras --default-index "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"
```