@
akaHenry 我上周刚遇到这个问题,uv 安装 python 下载是通过
https://github.com/astral-sh/python-build-standalone/releases ,
但服务器通常没有梯子,安装起来也麻烦。
但不知道哪个版本 uv 新增了 --mirror 参数,
--mirror <MIRROR> Set the URL to use as the source for downloading Python installations [env:UV_PYTHON_INSTALL_MIRROR=]
但 uv python install --mirror 不好使,使用 env: UV_PYTHON_INSTALL_MIRROR= 这个参数设置是可以的。
然后南京大学对 python-build-standalone/releases 镜像了,但我这不好使,找到了另一个镜像
https://python-standalone.org/#/?id=mirror-site-for-python-build-standalone-releases 打开后有用法。