mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-05-22 19:31:19 +00:00
Some checks failed
Docker Image Build / build (push) Failing after 2m10s
Deploy VitePress site to Liteyuki PaaS / build (push) Failing after 2m30s
Pre-commit checks / pre-commit (3.10) (push) Failing after 3m7s
Pre-commit checks / pre-commit (3.11) (push) Failing after 2m37s
Pre-commit checks / pre-commit (3.12) (push) Failing after 2m42s
Pre-commit checks / pre-commit (3.13) (push) Failing after 3m18s
新添加了adapter.md用来转移配置器相关内容; 修改了部分文件的版权归属日期;
59 lines
1.7 KiB
Markdown
Executable File
59 lines
1.7 KiB
Markdown
Executable File
---
|
||
title: 答疑
|
||
order: 4
|
||
---
|
||
# 答疑
|
||
|
||
## 常见问题
|
||
|
||
以下是一些常见问题的解答和解决方案:
|
||
|
||
### **设备上 Python 环境太乱了,pip 和 python 不对应怎么办?**
|
||
|
||
请使用以下命令来安装依赖, 并启动 Bot:
|
||
|
||
```bash
|
||
/path/to/python -m pip install -r requirements.txt
|
||
/path/to/python main.py
|
||
```
|
||
|
||
其中 `/path/to/python` 是你要用来运行 Bot 的 Python 可执行文件的路径
|
||
|
||
### **更新轻雪失败,报错 `InvalidGitRepositoryError`**
|
||
|
||
请确保正确安装了 `Git` , 并使用克隆而非直接下载的方式部署轻雪
|
||
|
||
如果你已经正确安装了 `Git` 但仍然遇到问题,请尝试使用手动下载的方式来更新轻雪(这对于一些特殊的网络环境有效)
|
||
|
||
### **怎么对接聊天平台?**
|
||
|
||
Bot 部分插件提供了对接特定平台的能力, 例如, 使用 NoneBot 插件可以对接支持的[适配器平台](https://bot.liteyuki.icu/deploy/adapter.html)
|
||
|
||
### **`Playwright` 安装失败**
|
||
|
||
运行以下命令来安装浏览器:
|
||
|
||
```bash
|
||
playwright install
|
||
```
|
||
|
||
### **有的插件安装后报错无法启动**
|
||
|
||
请先查阅插件文档,确认插件必要配置项完好, 如果问题仍然存在,请联系插件作者或在安全模式下启动轻雪:
|
||
|
||
```yaml
|
||
safe_mode: true
|
||
```
|
||
|
||
在安全模式下,你可以使用以下命令卸载问题插件:
|
||
|
||
```bash
|
||
npm uninstall <plugin-name>
|
||
```
|
||
|
||
## 其他问题
|
||
|
||
如果以上解答无法解决您的问题,欢迎加入我们的 QQ 群 [775840726](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=SzmDYbfR6jY94o9KFNon7AwelRyI6M_u&authKey=ygeBdEmdFNyCWuNR4w0M1M8%2B5oDg7k%2FDfN0tzBkYcnbB%2FGHNnlVEnCIGbdftsnn7&noverify=0&group_code=775840726) 进行进一步的交流和讨论
|
||
|
||
|