编写脚本实现一键绿色安装,简单,实用,轻量
- 驱动器默认安装fastapi
- 适配器默认安装onebot
- 配置文件已经写入基础配置,可自行根据需要修改
- 使用开发者模板,小白和开发者都能用
请确保在你的计算机/服务器上已经安装了python3.8以上版本
如果没有,请 自行 下载安装
⚙️为Windows系统安装
git clone 本项目,选择直接双击运行"install_for_windows.bat"
git clone https://github.com/Kaguya233qwq/EasyNoneBot.git
由于raw.githubusercontent.com被dns污染,可能需要手动修改hosts文件才能正常执行
curl https://raw.githubusercontent.com/Kaguya233qwq/EasyNoneBot/master/install_for_windows.bat
⚙️为Linux系统安装
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Kaguya233qwq/EasyNoneBot/master/install_for_linux.sh)"
如果不能执行,请修改hosts文件:
1.用熟悉的文本编辑器打开hosts
sudo vim /etc/hosts
2.查询raw.githubusercontent.com的ip地址 :
185.199.108.133
3.在hosts文件的最下面一行添加:
185.199.108.133 raw.githubusercontent.com
保存退出后再次运行即可
本项目使用 MIT 许可
Nonebot :非常好用的跨平台python机器人框架