mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-10-26 11:06:24 +00:00
1.5 KiB
1.5 KiB
title, icon, order, category, tag
| title | icon | order | category | tag | |
|---|---|---|---|---|---|
| 安装 | download | 1 | 使用指南 |
|
开始安装
- 安装
Git和Python3.10+环境 - 克隆项目
git clone https://github.com/snowykami/LiteyukiBot - 进入轻雪目录
cd LiteyukiBot - 安装依赖
pip install -r requirements.txt - 启动
python main.py
设备要求
- Windows系统版本最低
Windows10+/Windows Server 2019+ - Linux系统要支持Python3.10+,推荐
Ubuntu 20.04+(别用你那b CentOS) - CPU: 至少
1vCPU - 内存: Bot无其他插件会占用
200~300MB,其他插件占用视具体插件而定,建议1GB以上 - 硬盘: 至少
1GB空间
Warning
如果设备上有多个环境,请使用
path/to/python -m pip install -r requirements.txt来安装依赖,path/to/python为你的Python可执行文件路径
Tip
推荐使用虚拟环境来运行轻雪,以避免依赖冲突,你可以使用
python -m venv venv来创建虚拟环境,然后使用venv\Scripts\activate来激活虚拟环境
Warning
轻雪的更新功能依赖Git,如果你没有安装Git,你将无法使用更新功能