在pyproject.toml加上下面内容,可以换不同下载源: [[tool.uv.index]] url = "https://pypi.tuna.tsinghua.edu.cn/simple" default = true