Closed bobandbrony closed 7 months ago
3.12 我还没测过,估计不能用。换 Python 3.11 试一下呢?
3.12 我还没测过,估计不能用。换 Python 3.11 试一下呢?
呃,可能是这个版本的问题,由于其他项目需要,我降回了3.9.11 这会报错 PS D:\chatbot-\QChatGPT-2.6.9> py main.py Traceback (most recent call last): File "D:\chatbot-\QChatGPT-2.6.9\main.py", line 57, in from pkg.utils.log import init_runtime_log_file, reset_logging File "D:\chatbot-\QChatGPT-2.6.9\pkg\utils\log.py", line 6, in from . import context File "D:\chatbot-\QChatGPT-2.6.9\pkg\utils\context.py", line 7, in from ..openai import manager as openai_mgr File "D:\chatbot-\QChatGPT-2.6.9\pkg\openai\manager.py", line 4, in from openai.types import images_response ModuleNotFoundError: No module named 'openai.types'
现在你更新一下 openai 库到最新版本就可以了 pip install -U openai
现在你更新一下 openai 库到最新版本就可以了 pip install -U openai 已解决,谢谢! 教程提供的qsign地址没法用
multidict暂不支持 3.12,跟踪issue:https://github.com/aio-libs/multidict/issues/887
部署方式
手动部署
登录框架
go-cqhttp
系统环境
Windows10 ltsc 中国四川
Python环境
python 3.12.1
QChatGPT版本
v2.6.9
异常情况
使用pip3 install -r requirements.txt安装依赖时
日志信息
Building wheels for collected packages: multidict Building wheel for multidict (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for multidict (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [74 lines of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for multidict Failed to build multidict ERROR: Could not build wheels for multidict, which is required to install pyproject.toml-based projects
启用的插件
无