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

扫码后报错 #7

Closed
yunyunxixia opened this issue Dec 20, 2022 · 4 comments
Closed

扫码后报错 #7

yunyunxixia opened this issue Dec 20, 2022 · 4 comments

Comments

@yunyunxixia
Copy link

这个错误消息显示,你在调用 itchat 库中的 process_login_info() 函数时出现了 IndexError: list index out of range 错误。这意味着你尝试访问一个列表中不存在的索引。

在这个函数中,你使用了正则表达式来查找 标签中的值,并使用 re.findall() 函数返回匹配结果。如果找不到匹配的内容,则返回空列表,导致 IndexError: list index out of range 错误。

@zhayujie
Copy link
Owner

是不是微信号没有实名认证

@yunyunxixia
Copy link
Author

上述错误为没有实名认证

python版本3.11太新会报错,改为python3.9
itchat报错 , 用 itchat-uos 1.5.0 dev0
登入成功,但是机器人没有回复,也没有报错

1 similar comment
@yunyunxixia
Copy link
Author

上述错误为没有实名认证

python版本3.11太新会报错,改为python3.9
itchat报错 , 用 itchat-uos 1.5.0 dev0
登入成功,但是机器人没有回复,也没有报错

@zhayujie
Copy link
Owner

1.python版本只支持 3.7.1 - 3.9,文档已更新
2.使用itchat-uos
3.触发前缀匹配问题,已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants