-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
python test.py 问题 #309
Comments
这是什么问题? |
字符编码问题,可以在/usr/lib/python2.7/site-packages文件夹下新建一个sitecustomize.py,内容为
然后再次运行python test.py就可以解决此问题 |
问题解决了,不是这个原因,是新申请的微信号,不支持WEB版的
[email protected]
发件人: ZhaoPeng
发送时间: 2019-04-02 13:33
收件人: liuwons/wxBot
抄送: suyu2015; Comment
主题: Re: [liuwons/wxBot] python test.py 问题 (#309)
这是什么问题?
[INFO]请使用微信扫描二维码。
[INFO]请确认登录。
[错误] Web WeChat运行失败 - >'ascii'编解码器无法编码位置31-57中的字符:序号不在范围内(128)
字符编码问题,可以在/usr/lib/python2.7/site-packages文件夹下新建一个sitecustomize.py,内容为
# encoding=utf8
import sys
reload(sys)
sys.setdefaultencoding('utf8')
然后再次运行python test.py就可以解决此问题
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[info] start to process message
之后半小时就没往下走了,是什么原因
The text was updated successfully, but these errors were encountered: