Wxpy scan code login WeChat error KeyError: pass_ticket (web version WeChat login failed)

Use wxpy to develop WeChat chatbot, after scanning the code and logging in, it prompts:

KeyError: 'pass_ticket'

Solution: wxpy is a library packaged according to the interface of the web version of WeChat. To use wxpy, you have to try the web version of WeChat ( https://wx.qq.com/ ) to see if you can log in normally.

If the following prompt appears, the WeChat ID cannot be logged in using wxpy! There is no way yet~

为了你的帐号安全,此微信号已不允许登录网页微信。
你可以使用Windows微信或Mac微信在电脑端登录。
Windows微信下载地址:https://pc.weixin.qq.com 
Mac微信下载地址:https://mac.weixin.qq.com</message></error>

image

Guess you like

Origin blog.csdn.net/weixin_42321517/article/details/112515308