Tkinter-Designer
Tkinter-Designer copied to clipboard
python3 why SyntaxError: Non-UTF-8 code starting with '\xc7'
C:\Python38\python3.exe D:/python/Tkinter-Designer/temp/figma1/build/gui.py File "D:/python/Tkinter-Designer/temp/figma1/build/gui.py", line 81 SyntaxError: Non-UTF-8 code starting with '\xc7' in file D:/python/Tkinter-Designer/temp/figma1/build/gui.py on line 81, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
进程已结束,退出代码 1
转成utf8编码就行了
I think this might be due to a special character like ' or ! or ~ or `
You can manually change this in gui.py and write the exact text that you want on line 81 if you want