akai735 发表于 2022-1-14 19:33:18

itchat模块


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 "C:\Users\Administrator\Desktop\微信.py", line 2, in <module>
    itchat.auto_login()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\site-packages\itchat\components\register.py", line 34, in auto_login
    self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\site-packages\itchat\components\login.py", line 66, in login
    self.show_mobile_login()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\site-packages\itchat\components\login.py", line 212, in show_mobile_login
    self.loginInfo['url'], self.loginInfo['pass_ticket'])
KeyError: 'pass_ticket'
>>>
怎么回事 谁能告诉我
页: [1]
查看完整版本: itchat模块