Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug?]: 显示依赖包未安装,安装成功后重启仍显示未安装 #759

Closed
lueluelue2006 opened this issue Apr 17, 2024 · 1 comment
Labels
bug? Bug或Bug修复相关

Comments

@lueluelue2006
Copy link

部署方式

手动部署

消息平台适配器

yiri-mirai(Mirai)

系统环境

win10

Python环境

3.11

QChatGPT版本

3.1.0.3

异常情况

在虚拟环境中安装requirements.txt的依赖后显示以下内容,重启后还显示依赖包未安装这段
python -m pip install aiocqhttp并重启也不行,重启多次都显示依赖包未安装这段
(在和不在虚拟环境安装都尝试过)

E:\QQ_Robot\QChatGPT-3.1.0.3\QChatGPT-3.1.0.3>python main.py

  ___   ___ _         _    ___ ___ _____
 / _ \ / __| |_  __ _| |_ / __| _ \_   _|
| (_) | (__| ' \/ _` |  _| (_ |  _/ | |
 \__\_\\___|_||_\__,_|\__|\___|_|   |_|

⭐️开源地址: https://github.com/RockChinQ/QChatGPT
📖文档地址: https://q.rkcn.top

以下依赖包未安装,将自动安装,请完成后重启程序:
- aiocqhttp
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Requirement already satisfied: aiocqhttp in e:\anaconda\lib\site-packages (1.4.4)
Requirement already satisfied: Quart<1.0,>=0.17 in e:\anaconda\lib\site-packages (from aiocqhttp) (0.17.0)
Requirement already satisfied: httpx<1.0,>=0.11 in e:\anaconda\lib\site-packages (from aiocqhttp) (0.24.1)
Requirement already satisfied: certifi in e:\anaconda\lib\site-packages (from httpx<1.0,>=0.11->aiocqhttp) (2024.2.2)
Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in e:\anaconda\lib\site-packages (from httpx<1.0,>=0.11->aiocqhttp) (0.17.3)
Requirement already satisfied: idna in e:\anaconda\lib\site-packages (from httpx<1.0,>=0.11->aiocqhttp) (3.4)
Requirement already satisfied: sniffio in e:\anaconda\lib\site-packages (from httpx<1.0,>=0.11->aiocqhttp) (1.3.0)
Requirement already satisfied: aiofiles in e:\anaconda\lib\site-packages (from Quart<1.0,>=0.17->aiocqhttp) (23.2.1)
Requirement already satisfied: blinker in e:\anaconda\lib\site-packages (from Quart<1.0,>=0.17->aiocqhttp) (1.7.0)
Requirement already satisfied: click in e:\anaconda\lib\site-packages (from Quart<1.0,>=0.17->aiocqhttp) (8.1.7)
Requirement already satisfied: hypercorn>=0.11.2 in e:\anaconda\lib\site-packages (from Quart<1.0,>=0.17->aiocqhttp) (0.16.0)
Requirement already satisfied: itsdangerous in e:\anaconda\lib\site-packages (from Quart<1.0,>=0.17->aiocqhttp) (2.1.2)
Requirement already satisfied: jinja2 in e:\anaconda\lib\site-packages (from Quart<1.0,>=0.17->aiocqhttp) (3.1.2)
Requirement already satisfied: markupsafe in e:\anaconda\lib\site-packages (from Quart<1.0,>=0.17->aiocqhttp) (2.1.1)
Requirement already satisfied: toml in e:\anaconda\lib\site-packages (from Quart<1.0,>=0.17->aiocqhttp) (0.10.2)
Requirement already satisfied: werkzeug>=2.0.0 in e:\anaconda\lib\site-packages (from Quart<1.0,>=0.17->aiocqhttp) (3.0.1)
Requirement already satisfied: h11<0.15,>=0.13 in e:\anaconda\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx<1.0,>=0.11->aiocqhttp) (0.14.0)
Requirement already satisfied: anyio<5.0,>=3.0 in e:\anaconda\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx<1.0,>=0.11->aiocqhttp) (3.7.1)
Requirement already satisfied: h2>=3.1.0 in e:\anaconda\lib\site-packages (from hypercorn>=0.11.2->Quart<1.0,>=0.17->aiocqhttp) (4.1.0)
Requirement already satisfied: priority in e:\anaconda\lib\site-packages (from hypercorn>=0.11.2->Quart<1.0,>=0.17->aiocqhttp) (2.0.0)
Requirement already satisfied: wsproto>=0.14.0 in e:\anaconda\lib\site-packages (from hypercorn>=0.11.2->Quart<1.0,>=0.17->aiocqhttp) (1.2.0)
Requirement already satisfied: colorama in e:\anaconda\lib\site-packages (from click->Quart<1.0,>=0.17->aiocqhttp) (0.4.6)
Requirement already satisfied: hyperframe<7,>=6.0 in e:\anaconda\lib\site-packages (from h2>=3.1.0->hypercorn>=0.11.2->Quart<1.0,>=0.17->aiocqhttp) (6.0.1)
Requirement already satisfied: hpack<5,>=4.0 in e:\anaconda\lib\site-packages (from h2>=3.1.0->hypercorn>=0.11.2->Quart<1.0,>=0.17->aiocqhttp) (4.0.0)
已自动安装缺失的依赖包,请重启程序。

日志信息

No response

启用的插件

No response

@lueluelue2006 lueluelue2006 added the bug? Bug或Bug修复相关 label Apr 17, 2024
@RockChinQ
Copy link
Owner

环境问题自己解决一下哈~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? Bug或Bug修复相关
Projects
None yet
Development

No branches or pull requests

2 participants