Pycharm debug a problem arises
Connected to pydev debugger (build 181.4668.75) Traceback (most recent call last): ... UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 1022-1023: unexpected end of data
There are many solutions online, where records have been validated method
1. Turn off pycharm, .idea delete files in the project directory folder, restart pycharm, may have to reboot several times.
In addition, I found that the program can run normally occurs when debug a problem, then looked a little debug the source code, found debug the code compile, debug it is also a good way to check the code.
References:
https://blog.csdn.net/hfutdog/article/details/82690454