国内安装优化
添加环境变量
使用 GitHub 镜像网站替换掉默认地址,加速下载
UV_INSTALLER_GHE_BASE_URL=https://ghproxy.cn/https://github.com
UV_PYTHON_INSTALL_MIRROR=https://ghproxy.cn/https://github.com/indygreg/python-build-standalone/releases/download
默认使用清华 pypi 源
UV_DEFAULT_INDEX=https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
评论区