From d7dc8a7612ff849ce64c1fd310bd1e193d1a1a10 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Wed, 8 May 2024 19:12:23 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E6=97=A5=E5=BF=97=EF=BC=9B=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cores/astrbot/core.py | 2 +- main.py | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/cores/astrbot/core.py b/cores/astrbot/core.py index d58a2160b..62524e582 100644 --- a/cores/astrbot/core.py +++ b/cores/astrbot/core.py @@ -40,7 +40,7 @@ frequency_time = 60 frequency_count = 10 # 版本 -version = '3.1.12' +version = '3.1.13' # 语言模型 OPENAI_OFFICIAL = 'openai_official' diff --git a/main.py b/main.py index a680dd67d..d8a9622c3 100644 --- a/main.py +++ b/main.py @@ -46,7 +46,13 @@ def main(): cfg = yaml.safe_load(ymlfile) except ImportError as import_error: logger.error(import_error) - input("检测到一些依赖库没有安装。请先安装,然后重试。") + logger.error("检测到一些依赖库没有安装。由于兼容性问题,AstrBot 此版本将不会自动为您安装依赖库。请您先自行安装,然后重试。") + logger.info("如何安装?如果:") + logger.info("- Windows 启动器部署且使用启动器下载了 Python的:在 launcher.exe 所在目录下的地址框输入 powershell,然后执行 .\python\python.exe -m pip install .\AstrBot\requirements.txt") + logger.info("- Windows 启动器部署且使用自己之前下载的 Python的:在 launcher.exe 所在目录下的地址框输入 powershell,然后执行 python -m pip install .\AstrBot\requirements.txt") + logger.info("- 自行 clone 源码部署的:python -m pip install -r requirements.txt") + logger.info("- 如果还不会,加群 322154837 ") + input("按任意键退出。") exit() except FileNotFoundError as file_not_found: logger.error(file_not_found)