From 964cef5f3396ef66b38015a0a5e444f572b61362 Mon Sep 17 00:00:00 2001 From: Lancelot <1984737645@qq.com> Date: Thu, 16 Feb 2023 00:40:10 +0800 Subject: [PATCH 1/2] docs: add requirements.txt --- README.md | 4 +++- requirements.txt | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/README.md b/README.md index 20fdb2371..39216524a 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,9 @@ 使用Python的pip工具安装 - `qq-botpy` (QQ频道官方Python SDK) - `openai` (OpenAI 库) - +```shell +pip install -r requirements.txt +``` > ⚠注意,由于qq-botpy需要运行在`Python 3.8+`的版本上,因此本项目也需要在此之上运行 ### 配置 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 000000000..f34b46f05 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +requests~=2.28.2 +openai~=0.26.5 +qq-botpy~=1.1.2 \ No newline at end of file From 8b0fcd597c2e8f98aab65d8b78e483e57e4e8ede Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Thu, 16 Feb 2023 11:43:55 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 39216524a..edeaf5a29 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,3 @@ -## ⭐支持此项目 -[爱发电](https://afdian.net/a/soulter) - ## ⭐体验 扫码加入QQ频道