-
Notifications
You must be signed in to change notification settings - Fork 45
在一键脚本处添加uv报错解决方案,这次听取@Sjshi763的建议,采取了md格式 #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v4
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -143,9 +143,10 @@ uv run main.py | |
| >export UV_DEFAULT_INDEX="https://pypi.tuna.tsinghua.edu.cn/simple" | ||
| >``` | ||
|
|
||
| >[!TIP] | ||
| ## 报错解决方案 | ||
|
|
||
| >如果出现了 `[WARN] uv sync 失败,重试 2/3 | ||
| × Failed to build astrbot @ file:///root/AstrBot | ||
| × Failed to build astrbot @ file:///root/ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 问一下这里为什么要修改文件目录
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这个md版本是我直接从复制maibot的docs,我之前在那边提pr的时候为了防止起疑就吧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 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这边没有md语法,我看了一下提交确实不是这次修改的,如果你想可以顺便修改这个
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 我看了一下其实是有的但不是```而是`所以导致被识别为一行导致显示问题,建议修改 |
||
|
|
@@ -155,7 +156,8 @@ uv run main.py | |
| 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 | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.