你好登陆成功但是无法回复 #613
Unanswered
DiosBestFriend
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
[INFO][2023-03-26 16:36:53][bridge.py:28] - create bot chatGPT for chat
[ERROR][2023-03-26 16:36:53][wechat_channel.py:29] - Worker return exception: No module named 'openai'
Traceback (most recent call last):
File "/usr/lib64/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/bin/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 205, in handle
e_context = PluginManager().emit_event(EventContext(Event.ON_HANDLE_CONTEXT, {'channel' : self, 'context': context, 'reply': reply}))
File "/usr/bin/chatgpt-on-wechat/plugins/plugin_manager.py", line 131, in emit_event
instance.handlers[e_context.event](e_context, *args, **kwargs)
File "/usr/bin/chatgpt-on-wechat/plugins/role/role.py", line 79, in on_handle_context
bot = Bridge().get_bot("chat")
File "/usr/bin/chatgpt-on-wechat/bridge/bridge.py", line 34, in get_bot
self.bots[typename] = bot_factory.create_bot(self.btype[typename])
File "/usr/bin/chatgpt-on-wechat/bot/bot_factory.py", line 20, in create_bot
from bot.chatgpt.chat_gpt_bot import ChatGPTBot
File "/usr/bin/chatgpt-on-wechat/bot/chatgpt/chat_gpt_bot.py", line 10, in
import openai
ModuleNotFoundError: No module named 'openai'
Beta Was this translation helpful? Give feedback.
All reactions