UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xb2 in position 6: invalid start byte,已解决!

It can run normally when running the window before, but in the past few days, it has run again and there is an error that cannot be decoded

Solution: In the picture, there is an error in line 52, click to go to the file

, at this time decode() is empty, I put the decoding method in it

rerun

Solve it, cool

Guess you like

Origin blog.csdn.net/weixin_47037450/article/details/129747916