Skip to content

Conversation

@HSOS6
Copy link
Contributor

@HSOS6 HSOS6 commented Jan 15, 2026

Updated error messages and solutions for Python installation issues.
增加python版本过高(3.14+)案例以及解决办法。

Summary by Sourcery

更新 AstrBot 的 Windows 部署文档,明确 Python 错误处理方式,并新增对不受支持的高版本 Python 的使用说明。

Documentation:

  • 明确在 Windows 上解决“未安装 Python(Python is not installed)”错误的步骤,包括如何定位并引用 python.exe
  • 记录在 AstrBot 中使用不受支持的 Python 3.14+ 版本时的新错误场景,并说明兼容的 Python 版本范围。
Original summary in English

Summary by Sourcery

Update Windows deployment documentation for AstrBot with clarified Python error handling and new guidance for unsupported high Python versions.

Documentation:

  • Clarify instructions for resolving 'Python is not installed' errors on Windows, including how to locate and reference python.exe.
  • Document a new error scenario for using unsupported Python 3.14+ with AstrBot and explain the compatible version range.

Updated error messages and solutions for Python installation issues.
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - 我在这里给出一些整体性的反馈:

  • 新增的 CPython 3.14 错误说明小节以 **解决办法:** 结尾,但目前还没有给出具体的解决步骤;建议要么补充明确的临时解决方案(例如安装受支持的 Python 版本),要么移除这个小标题,以免读者产生困惑。
  • 建议将当前 Python3.13.x ~ 3.10 的版本范围表述方式,改为更常见的顺序,例如 Python 3.10–3.13,以便让兼容性信息更加清晰。
给 AI Agent 的提示词
Please address the comments from this code review:

## Overall Comments
- 新增的 CPython 3.14 错误说明小节以 `**解决办法:**` 结尾,但目前还没有给出具体的解决步骤;建议要么补充明确的临时解决方案(例如安装受支持的 Python 版本),要么移除这个小标题,以免读者产生困惑。
- 建议将当前 `Python3.13.x ~ 3.10` 的版本范围表述方式,改为更常见的顺序,例如 `Python 3.10–3.13`,以便让兼容性信息更加清晰。

Sourcery 对开源项目是免费的——如果你觉得我们的代码评审对你有帮助,欢迎帮忙分享 ✨
帮我变得更有用!请在每条评论上点击 👍 或 👎,我会根据你的反馈改进后续的代码评审。
Original comment in English

Hey - I've left some high level feedback:

  • The new section for the CPython 3.14 error ends with **解决办法:** but does not actually provide the solution steps yet; either add the concrete workaround (e.g., installing a supported Python version) or remove the heading to avoid confusing readers.
  • Consider rephrasing the supported Python version range from Python3.13.x ~ 3.10 to a more conventional order such as Python 3.10–3.13 to make the compatibility information clearer.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The new section for the CPython 3.14 error ends with `**解决办法:**` but does not actually provide the solution steps yet; either add the concrete workaround (e.g., installing a supported Python version) or remove the heading to avoid confusing readers.
- Consider rephrasing the supported Python version range from `Python3.13.x ~ 3.10` to a more conventional order such as `Python 3.10–3.13` to make the compatibility information clearer.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@Sjshi763
Copy link
Contributor

astrbot支持py314,是依赖不支持

@Sjshi763
Copy link
Contributor

astrbot支持py314,是依赖不支持

而且只要你成功编译依赖也可以运行啊

@HSOS6
Copy link
Contributor Author

HSOS6 commented Jan 17, 2026

astrbot支持py314,是依赖不支持

而且只要你成功编译依赖也可以运行啊

教小白搞依赖么。。说实话不如让他们换版本()

@Sjshi763
Copy link
Contributor

Sjshi763 commented Jan 17, 2026

astrbot支持py314,是依赖不支持

而且只要你成功编译依赖也可以运行啊

教小白搞依赖么。。说实话不如让他们换版本()

只是说你修改的pr这写的不够严谨,容易出现以后在交流时的小问题

@HSOS6
Copy link
Contributor Author

HSOS6 commented Jan 17, 2026

astrbot支持py314,是依赖不支持

而且只要你成功编译依赖也可以运行啊

教小白搞依赖么。。说实话不如让他们换版本()

只是说你修改的pr这写的不够严谨

彳亍,我改改

@Sjshi763
Copy link
Contributor

对了,最后 入鸡科长

Updated troubleshooting steps for Python version compatibility.
@HSOS6
Copy link
Contributor Author

HSOS6 commented Jan 17, 2026

hyw(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants