uv 安装使用
pip install uv
wget -qO- https://astral.sh/uv/install.sh | sh
uv python install 3.10
uv venv --python 3.10 && source .venv/bin/activate
uv pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple
#同步锁定依赖,sync意思是没有的依赖会删除。有的会安装指定版本
uv sync
uv tool install ruff
uv tool --python 3.10 ruff