扫码登录不上
from wxpy import * bot = Bot() Getting uuid of QR code. Downloading QR code. Please scan the QR code to log in. Please press confirm on your phone. Loading the contact, this may take a little while. Traceback (most recent call last): File "", line 1, in File "C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\wxpy\api\bot.py", line 86, in init loginCallback=login_callback, exitCallback=logout_callback File "C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\itchat\components\register.py", line 35, in auto_login loginCallback=loginCallback, exitCallback=exitCallback) File "C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\itchat\components\login.py", line 66, in login self.show_mobile_login() File "C:\Users\admin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\itchat\components\login.py", line 212, in show_mobile_login self.loginInfo['url'], self.loginInfo['pass_ticket']) KeyError: 'pass_ticket'
Source: youfou/wxpy