File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,9 @@ python3 --version
100100安装 uv 包管理器:
101101``` bash
102102# 使用 pip 安装 uv
103- pip3 install uv
103+ pip3 install uv --break-system-packages -i https://mirrors.huaweicloud.com/repository/pypi/simple/
104+ grep -qF ' export PATH="$HOME/.local/bin:$PATH"' ~ /.bashrc || echo ' export PATH="$HOME/.local/bin:$PATH"' >> ~ /.bashrc
105+ source ~ /.bashrc
104106```
105107
106108::: tip
Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ sudo update-alternatives --config python3
5252安装 uv 包管理器:
5353``` bash
5454# 使用 pip 安装 uv
55- pip3 install uv
55+ pip3 install uv --break-system-packages -i https://mirrors.huaweicloud.com/repository/pypi/simple/
56+ grep -qF ' export PATH="$HOME/.local/bin:$PATH"' ~ /.bashrc || echo ' export PATH="$HOME/.local/bin:$PATH"' >> ~ /.bashrc
57+ source ~ /.bashrc
5658```
5759或者使用官方安装脚本:
5860``` bash
You can’t perform that action at this time.
0 commit comments