Trying to use pyinstaller and I had "Successfully installed pyinstaller-3.0 pypiwin32-223 pywin32-224" according to Command prompt.
however, when I tried to run with $pyinstaller
, I receive this message
File "C:\\Users\\João Pedro\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts\\pyinstaller-script.py", line 1 SyntaxError: Non-UTF-8 code starting with '\\xe3' in file C:\\Users\\João Pedro\\AppData\\Local\\Programs\\Python\\Python37-32\\Scripts\\pyinstaller-script.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
There is an issue while reading the path for pyinstaller because of the presence of that Lattin character. Either you can convert it to utf8
format or change it. It will resolve the issue.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.