File tree Expand file tree Collapse file tree 2 files changed +33
-3
lines changed Expand file tree Collapse file tree 2 files changed +33
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,34 @@ wget -qO- https://raw.githubusercontent.com/zhende1113/Antlia/refs/heads/main/Sc
2020
2121仓库地址:[ zhende1113/Antlia] ( https://github.com/zhende1113/Antlia/ )
2222
23+ ## Termux部署报错解决方案
24+
25+ > 如果出现了 `[ WARN] uv sync 失败,重试 2/3
26+ × Failed to build astrbot @ file:///root/
27+ ├─▶ Failed to install requirements from build-system.requires
28+ ├─▶ Failed to install build dependencies
29+ ├─▶ Failed to install: trove_classifiers-2025.9.11.17-py3-none-any.whl
30+ │ (trove-classifiers==2025.9.11.17)
31+ ╰─▶ failed to hardlink file from
32+ /root/.cache/uv/archive-v0/10gPuxc61Audvy1Eg6SFz/trove_classifiers/.l2s.__ init__ .py0001
33+ to
34+ /root/.cache/uv/builds-v0/.tmp2lFVJx/lib/python3.10/site-packages/trove_classifiers/.l2s.__ init__ .py0001:
35+ Operation not permitted (os error 1)
36+
37+ 可以先运行以下命令,然后再重新启动
38+
39+ > 仅限Termux部署环境使用!
40+ > 仅限Termux部署环境使用!
41+ > 仅限Termux部署环境使用!
42+
43+ > ``` bash
44+ > echo ' export UV_LINK_MODE=copy' >> ~ /.bashrc
45+ > ` ` `
46+ > ` ` ` bash
47+ > source ~ /.bashrc
48+ > ` ` `
49+
50+
2351***
2452
2553# # Linux 一键部署脚本(基于Docker)
Original file line number Diff line number Diff line change @@ -143,9 +143,10 @@ uv run main.py
143143> export UV_DEFAULT_INDEX=" https://pypi.tuna.tsinghua.edu.cn/simple"
144144> ` ` `
145145
146- > [! TIP]
146+ # # 报错解决方案
147+
147148> 如果出现了 ` [WARN] uv sync 失败,重试 2/3
148- × Failed to build astrbot @ file:///root/AstrBot
149+ × Failed to build astrbot @ file:///root/
149150 ├─▶ Failed to install requirements from build-system.requires
150151 ├─▶ Failed to install build dependencies
151152 ├─▶ Failed to install: trove_classifiers-2025.9.11.17-py3-none-any.whl
@@ -155,7 +156,8 @@ uv run main.py
155156 to
156157 /root/.cache/uv/builds-v0/.tmp2lFVJx/lib/python3.10/site-packages/trove_classifiers/.l2s.__init__.py0001:
157158 Operation not permitted (os error 1)
158- ` 可以先运行以下命令,然后再重新启动
159+
160+ 可以先运行以下命令,然后再重新启动
159161
160162> ` ` ` bash
161163> echo ' export UV_LINK_MODE=copy' >> ~ /.bashrc
You can’t perform that action at this time.
0 commit comments