diff --git a/zh/deploy/astrbot/termux.md b/zh/deploy/astrbot/termux.md index 1317fc9..cf80381 100644 --- a/zh/deploy/astrbot/termux.md +++ b/zh/deploy/astrbot/termux.md @@ -148,30 +148,6 @@ uv run main.py >export UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple" >``` -## 报错解决方案 - ->如果出现了 `[WARN] uv sync 失败,重试 2/3 - × Failed to build astrbot @ file:///root/ - ├─▶ Failed to install requirements from build-system.requires - ├─▶ Failed to install build dependencies - ├─▶ Failed to install: trove_classifiers-2025.9.11.17-py3-none-any.whl - │ (trove-classifiers==2025.9.11.17) - ╰─▶ failed to hardlink file from - /root/.cache/uv/archive-v0/10gPuxc61Audvy1Eg6SFz/trove_classifiers/.l2s.__init__.py0001 - to - /root/.cache/uv/builds-v0/.tmp2lFVJx/lib/python3.10/site-packages/trove_classifiers/.l2s.__init__.py0001: - Operation not permitted (os error 1) - -可以先运行以下命令,然后再重新启动 - ->```bash ->echo 'export UV_LINK_MODE=copy' >> ~/.bashrc ->``` -> ->```bash ->source ~/.bashrc ->``` - ## 🎉 大功告成 如果没有报错,那么你可以看到`uv`在安装所需的包后出现类似 `WebUI 已启动,可访问` 并附带了几条链接。