python中wxpy库运行bot=Bot()时出现大量错误
报错:Traceback (most recent call last):
File "<pyshell#15>", line 1, in
bot=Bot()
File "C:\Users\dream\AppData\Local\Programs\Python\Python36-32\lib\site-packages\wxpy\api\bot.py", line 86, in init
loginCallback=login_callback, exitCallback=logout_callback
File "C:\Users\dream\AppData\Local\Programs\Python\Python36-32\lib\site-packages\itchat\components\register.py", line 35, in auto_login
loginCallback=loginCallback, exitCallback=exitCallback)
File "C:\Users\dream\AppData\Local\Programs\Python\Python36-32\lib\site-packages\itchat\components\login.py", line 48, in login
status = self.check_login()
File "C:\Users\dream\AppData\Local\Programs\Python\Python36-32\lib\site-packages\itchat\components\login.py", line 131, in check_login
process_login_info(self, r.text)
File "C:\Users\dream\AppData\Local\Programs\Python\Python36-32\lib\site-packages\itchat\components\login.py", line 164, in process_login_info
for node in xml.dom.minidom.parseString(r.text).documentElement.childNodes:
File "C:\Users\dream\AppData\Local\Programs\Python\Python36-32\lib\xml\dom\minidom.py", line 1968, in parseString
return expatbuilder.parseString(string)
File "C:\Users\dream\AppData\Local\Programs\Python\Python36-32\lib\xml\dom\expatbuilder.py", line 925, in parseString
return builder.parseString(string)
File "C:\Users\dream\AppData\Local\Programs\Python\Python36-32\lib\xml\dom\expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: mismatched tag: line 64, column 4
我的代码:
from wxpy import *
bot=Bot()