You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please scan the QR code to log in.
Please press confirm on your phone.
Loading the contact, this may take a little while.
TERM environment variable not set.
Login successfully as Home
Start auto replying.
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/itchat/components/register.py", line 60, in configured_reply
r = replyFn(msg)
File "/Users/niezhenchao/Desktop/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 21, in handler_single_msg
WechatChannel().handle(msg)
File "/Users/niezhenchao/Desktop/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 46, in handle
other_user_id = msg['User']['UserName'] # 对手方id
KeyError: 'UserName'
在提交前,请确保您已经检查了以下内容!
itchat
登陆itchat
, 而不是其他项目.请使用
itchat.run(debug=True)
运行,并将输出粘贴在下面:您的itchat版本为:
[在这里填写版本号]
。(可通过python -c "import itchat;print(itchat.__version__)"
获取)其他的内容或者问题更详细的描述都可以添加在下面:
The text was updated successfully, but these errors were encountered: