A
A
Andrey Godunko2021-12-26 13:18:22
Python
Andrey Godunko, 2021-12-26 13:18:22

How to fix error SyntaxError: Non-UTF-8 code starting with '\x90' in file count.exe?

I did not find any advice on the Internet that helped me. It was written that when converting .py to .exe, there may be Cyrillic. I checked the path, and did not find a single Russian letter. I have do.py file. And it launches another count.exe file, so when it launches this file it gives such an error. But if you run the file separately, then everything works

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

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question