app/docs/zh/deploy/fandq.md
Snowykami cf7cb71464
Some checks failed
Docker Image Build / build (push) Failing after 7s
Pre-commit checks / pre-commit (3.11) (push) Failing after 1m57s
Deploy VitePress site to Liteyuki PaaS / build (push) Failing after 2m14s
Pre-commit checks / pre-commit (3.13) (push) Failing after 3m21s
Pre-commit checks / pre-commit (3.12) (push) Failing after 3m23s
Pre-commit checks / pre-commit (3.10) (push) Failing after 14m32s
📝 更新所有链接至新的域名 "liteyuki.org"
2025-06-16 00:29:03 +08:00

1.7 KiB
Executable File
Raw Blame History

title, order
title order
答疑 4

答疑

常见问题

以下是一些常见问题的解答和解决方案:

设备上 Python 环境太乱了pip 和 python 不对应怎么办?

请使用以下命令来安装依赖, 并启动 Bot:

/path/to/python -m pip install -r requirements.txt
/path/to/python main.py

其中 /path/to/python 是你要用来运行 Bot 的 Python 可执行文件的路径

更新轻雪失败,报错 InvalidGitRepositoryError

请确保正确安装了 Git , 并使用克隆而非直接下载的方式部署轻雪

如果你已经正确安装了 Git 但仍然遇到问题,请尝试使用手动下载的方式来更新轻雪(这对于一些特殊的网络环境有效)

怎么对接聊天平台?

Bot 部分插件提供了对接特定平台的能力, 例如, 使用 NoneBot 插件可以对接支持的适配器平台

Playwright 安装失败

运行以下命令来安装浏览器:

playwright install

有的插件安装后报错无法启动

请先查阅插件文档,确认插件必要配置项完好, 如果问题仍然存在,请联系插件作者或在安全模式下启动轻雪:

safe_mode: true

在安全模式下,你可以使用以下命令卸载问题插件:

npm uninstall <plugin-name>

其他问题

如果以上解答无法解决您的问题,欢迎加入我们的 QQ 群 775840726 进行进一步的交流和讨论