1、更新Python的pip库
pip install --upgrade pip
2、安装UV
pip install uv
3、通过uv安装程序
为了不让他卸载我本地已经安装好的东西 比如cuda版本的torch,需要加 --no-deps # 虚拟环境安装程序如MinerU uv pip install -U "mineru[all]" --no-deps # 系统环境安装程序 uv pip install -U "mineru[all]" --system --no-deps
Python安装UV
| Title | Python安装UV |
|---|---|
| Framework | Python |
| User | wy8817399@vip.qq.com |
| Id | 74 |
| Created | 4/2/26, 6:09 PM |
| Modified | 4/2/26, 6:15 PM |
| Published | Yes |
Content