Closed fattank closed 1 year ago
追加提问:
在log里面的情况是tool插件报错,找不到,这是日志:
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
[INFO][2023-04-20 17:32:22][plugin_manager.py:47] - Loading plugins config...
[INFO][2023-04-20 17:32:22][plugin_manager.py:63] - Scaning plugins ...
chatgpt-tool-hub version: 0.4.1
[ERROR][2023-04-20 17:32:23][plugin_manager.py:88] - Failed to import plugin tool: cannot import name 'load_app' from 'chatgpt_tool_hub.apps' (/home/tank/.local/lib/python3.8/site-packages/chatgpt_tool_hub/apps/init.py)
Traceback (most recent call last):
File "/home/tank/Downloads/chatgpt-on-wechat-master0405/plugins/plugin_manager.py", line 85, in scan_plugins
self.loaded[plugin_path] = importlib.import_module(import_path)
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "
load_app
你好,请pull chatgpt-on-wechat最新代码,如下报错均为未更新tool 0.4插件导致
[ERROR][2023-04-20 17:32:23][plugin_manager.py:88] - Failed to import plugin tool: cannot import name 'load_app' from 'chatgpt_tool_hub.apps'
你好,我pip3 install -r requirements.txt,pip3 install -r requirements-optional.txt这两个依赖都更新了,项目也用git pull更新了,都正常,但是启动后$tool,就是不能用,提示,[ERROR] 未知插件命令 查看插件命令列表请输入#help 插件名,之前默认的4个还可以用,现在全部不能用了,这是啥原因?
多谢,已经更新代码,已经搞定,就是wolfram有点不稳定。非常感谢。
load_app
你好,请pull chatgpt-on-wechat最新代码,如下报错均为未更新tool 0.4插件导致
[ERROR][2023-04-20 17:32:23][plugin_manager.py:88] - Failed to import plugin tool: cannot import name 'load_app' from 'chatgpt_tool_hub.apps'
前置确认
1. 网络能够访问openai接口
2.
git pull
拉取最新代码3. 执行
pip install -r requirements.txt
,检查依赖是否满足4. 在已有 issue 中未搜索到类似问题
5. 注意,提issue前请确认用本项目test.py(参考README.md 快速开始配置)重试一次你的问题是否能复现
问题描述
你的问题是否在test.py能复现?
你复现时的config.json,注意抹去你的api-key { "tools": ["python", "url-get", "terminal", "meteo-weather","wolfram-alpha"], "kwargs": { "top_k_results": 2, "openai_api_key": "1234", "proxy": "", "debug": true, "no_default": false, "model_name": "gpt-3.5-turbo", "wolfram_alpha_appid": "1234" } }
你的问题:
环境
python -V
):pip -V
):