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

运行报错 #3

Open
qingleer opened this issue Mar 1, 2018 · 5 comments
Open

运行报错 #3

qingleer opened this issue Mar 1, 2018 · 5 comments

Comments

@qingleer
Copy link

qingleer commented Mar 1, 2018

Getting uuid of QR code.
Downloading QR code.
Traceback (most recent call last):
File "wx/hongbao.py", line 13, in
bot = Bot(cache_path=True)
File "/usr/local/lib/python2.7/dist-packages/wxpy/api/bot.py", line 88, in init
except FileNotFoundError as e:
NameError: global name 'FileNotFoundError' is not defined

@ontheway1215
Copy link

ontheway1215 commented Mar 2, 2018


bot = Bot(cache_path=True)改为
bot = Bot(cache_path=True, console_qr=True)

@lovezm
Copy link

lovezm commented Mar 2, 2018

我运行报错 是要安装什么包吗?

@lovezm
Copy link

lovezm commented Mar 2, 2018

@ontheway1215 在控制台打印二维码 扫不出来啊。。。

@lovezm
Copy link

lovezm commented Mar 2, 2018

c:\ai-hongbao>python wx/hongbao.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 "wx/hongbao.py", line 13, in
bot = Bot(cache_path=True)
File "C:\Python27\lib\site-packages\wxpy\api\bot.py", line 88, in init
except FileNotFoundError as e:
NameError: global name 'FileNotFoundError' is not defined

@krzover
Copy link

krzover commented Mar 5, 2018

这是你的微信限制了web端登录,可以登录window版或者移动版...扫码登录官网的网页版看看提示就明白

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

4 participants