Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

wxpy 在python3.8下出错。 #451

Open
love5461 opened this issue Apr 12, 2020 · 3 comments
Open

wxpy 在python3.8下出错。 #451

love5461 opened this issue Apr 12, 2020 · 3 comments

Comments

@love5461
Copy link

在Pythone3.8下出错。

C:\Users\couser\PycharmProjects\untitled\venv\Scripts\python.exe C:/Users/couser/PycharmProjects/untitled/venv/Scripts/wx.py
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/couser/PycharmProjects/untitled/venv/Scripts/wx.py", line 3, in
bot = Bot()
File "C:\Users\couser\PycharmProjects\untitled\venv\Lib\site-packages\wxpy\api\bot.py", line 83, in init
self.core.auto_login(
File "C:\Users\couser\PycharmProjects\untitled\venv\Lib\site-packages\itchat\components\register.py", line 34, in auto_login
self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
File "C:\Users\couser\PycharmProjects\untitled\venv\Lib\site-packages\itchat\components\login.py", line 66, in login
self.show_mobile_login()
File "C:\Users\couser\PycharmProjects\untitled\venv\Lib\site-packages\itchat\components\login.py", line 212, in show_mobile_login
self.loginInfo['url'], self.loginInfo['pass_ticket'])
KeyError: 'pass_ticket'

@Yemaoxin
Copy link

这个问题,是因为微信团队实际性的关闭了网页版微信引起的。你可以测试一下网页版微信是否可以打开。正是因为不能打开所以才会有这个pass_ticket的错误

@Yemaoxin
Copy link

说实际性关闭也不太对,因为我旧的手机号可以,但是很遗憾,我更换了绑定手机号

@jfthuong
Copy link

网页版不能打开,哪怎么办呢?

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

No branches or pull requests

3 participants