Skip to content

Commit f429bf5

Browse files
authored
Merge pull request #85 from ikun-11451/main
更改uv安装方式喵....让安装uv的时候不会报错喵....
2 parents 0afe3c2 + ce01a7f commit f429bf5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

manual/deployment/mmc_deploy_android.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

manual/deployment/mmc_deploy_linux.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)