Skip to content Skip to sidebar Skip to footer

Syntaxerror: Non-utf-8 Code Starting With '\x90' In File .\score_python.exe On Line 1, But No Encoding Declared;

I have a python script where I need to create an executable via pyinstaller. Successfully created the exe, but shows the above error while running. I have already searched on the w

Solution 1:

Resolution: Please execute the exe without python command.

Example: If you have converted test.py, please go to the directory Current Directory/dist/test/ and either double-click on test.exe or run test.exe from command line.

Post a Comment for "Syntaxerror: Non-utf-8 Code Starting With '\x90' In File .\score_python.exe On Line 1, But No Encoding Declared;"