Skip to content
This repository was archived by the owner on Apr 7, 2023. It is now read-only.

请问一下报这个错是什么情况 #4

Open
moqingx52 opened this issue Mar 17, 2023 · 1 comment
Open

请问一下报这个错是什么情况 #4

moqingx52 opened this issue Mar 17, 2023 · 1 comment

Comments

@moqingx52
Copy link

File "main.py", line 156
SyntaxError: Non-UTF-8 code starting with '\xe3' in file main.py on line 156, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

@OedoSoldier
Copy link
Owner

文件开头加上 # -*- coding: utf-8 -*- 或者 # -*- coding: gbk -*-

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants