Python3 SyntaxError: Non-UTF-8 code starting with ‘\xe3‘ in file xxx.py
问题SyntaxError: Non-UTF-8 code starting with '\xe3' in file test.py on line 8, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for detailsProcess finished with exit code 1大意:以 '\xe3' 开头的非 UTF-8 代码,但未声明编码解决方式第一行增加# -*- cod...
原创
2021-06-24 10:28:39 ·
3288 阅读 ·
0 评论