Python错误:SyntaxError: Non-UTF-8 code starting with

原因是Windows环境下,.py源代码中使用了非UTF-8的编码格式。

解决方法(Eclipse):
Project - Properties - Resource 
进入这个设置面板后
Text file encoding项目中,
Other - UTF-8
然后Apply and Close即可。

Python错误:SyntaxError: Non-UTF-8 code starting with

相关文章:

  • 2021-09-29
  • 2022-12-23
  • 2021-05-09
  • 2021-10-04
  • 2021-09-11
  • 2022-03-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-14
  • 2022-01-28
  • 2022-02-20
  • 2021-09-18
  • 2022-02-27
  • 2021-08-05
  • 2022-12-23
相关资源
相似解决方案