This repository was archived by the owner on Mar 11, 2026. It is now read-only.
Commit a9ba8bb
authored
新增Termux部署Astrobot下出现uv相关报错的解决方案
添加了关于此报错的的解决方案
报错日志
× Failed to build `astrbot @ file:///root/AstrBot`
├─▶ 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)
解决命令
# 永久设置环境变量
echo 'export UV_LINK_MODE=copy' >> ~/.bashrc
source ~/.bashrc
头一次提交pr,如有不对,各位大佬见谅1 parent 891653d commit a9ba8bb
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
146 | 167 | | |
147 | 168 | | |
148 | 169 | | |
| |||
0 commit comments