Results 1 comments of ZhaoPeng

> 这是什么问题? > [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就可以解决此问题