安装uv管理
安装uv管理
windows powershell
1 | powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" |
linux
1 | curl -LsSf https://astral.sh/uv/install.sh | sh |
pip安装
1 | pip install uv |
配置加速源
在uv.toml添加加速源,或者在pyproject.toml添加加速源
1 | [[index]] |