File "
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()
新年快乐🎉,望采纳,谢谢!
这个报错一般是由于微信客户端的版本问题引起的,可以尝试更新微信客户端,或者更换一个更新的wxpy版本,例如wxpy 4.0.7。