Follow these steps can reproduce the error: 1.Create a new main.py. 2.Delete all the code in it. 3.Write this:
#!/usr/bin/env python # -*- coding: utf-8 -*- print("あ")
4.Save it. 5.Try running it. Here is the result:
File "test.py", line 3 print("��") ^ SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xa4 in position 0: invalid start byte.