mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-27 04:35:50 +03:00
[GH-ISSUE #93] SyntaxError: Non-UTF-8 code starting with '\x90' #90
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Zombie10 on GitHub (Apr 14, 2020).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/93
auto-py-to-exe: 3.6.6
Hi!
I can't run this simple app.
Any ideas?
Environment
PyInstaller: 3.6
Python: 3.6.8
Platform: Windows-10-10.0.18362-SP0
Error:



Sample code:
print('Hello World!')
Output:
Running auto-py-to-exe v2.6.6
Building in the current instances temporary directory at C:\Users\reynaldo\AppData\Local\Temp\tmp7324buft
To get a new temporary directory, restart this application
Recursion Limit is set to 5000
Executing: pyinstaller -y "C:/Users/reynaldo/Desktop/hello/hello.py"
67197 INFO: PyInstaller: 3.6
67197 INFO: Python: 3.6.8
67197 INFO: Platform: Windows-10-10.0.18362-SP0
67197 INFO: wrote C:\Users\reynaldo\AppData\Local\Temp\tmp7324buft\hello.spec
67197 INFO: UPX is not available.
67213 INFO: Extending PYTHONPATH with paths
['C:\Users\reynaldo\Desktop\hello',
'C:\Users\reynaldo\AppData\Local\Temp\tmp7324buft']
67213 INFO: checking Analysis
67213 INFO: Building Analysis because Analysis-00.toc is non existent
67213 INFO: Initializing module dependency graph...
67213 INFO: Caching module graph hooks...
67228 INFO: Analyzing base_library.zip ...
71072 INFO: Caching module dependency graph...
71134 INFO: running Analysis Analysis-00.toc
71164 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
required by C:\Users\reynaldo\AppData\Local\Programs\Python\Python36\python.exe
71244 INFO: Analyzing C:\Users\reynaldo\Desktop\hello\hello.py
71244 INFO: Processing module hooks...
71244 INFO: Loading module hook "hook-encodings.py"...
71322 INFO: Loading module hook "hook-pydoc.py"...
71322 INFO: Loading module hook "hook-xml.py"...
71620 INFO: Looking for ctypes DLLs
71620 INFO: Analyzing run-time hooks ...
71620 INFO: Looking for dynamic libraries
71729 INFO: Looking for eggs
71729 INFO: Using Python library C:\Users\reynaldo\AppData\Local\Programs\Python\Python36\python36.dll
71729 INFO: Found binding redirects:
[]
71729 INFO: Warnings written to C:\Users\reynaldo\AppData\Local\Temp\tmp7324buft\build\hello\warn-hello.txt
71757 INFO: Graph cross-reference written to C:\Users\reynaldo\AppData\Local\Temp\tmp7324buft\build\hello\xref-hello.html
71761 INFO: checking PYZ
71761 INFO: Building PYZ because PYZ-00.toc is non existent
71761 INFO: Building PYZ (ZlibArchive) C:\Users\reynaldo\AppData\Local\Temp\tmp7324buft\build\hello\PYZ-00.pyz
72115 INFO: Building PYZ (ZlibArchive) C:\Users\reynaldo\AppData\Local\Temp\tmp7324buft\build\hello\PYZ-00.pyz completed successfully.
72123 INFO: checking PKG
72123 INFO: Building PKG because PKG-00.toc is non existent
72123 INFO: Building PKG (CArchive) PKG-00.pkg
72139 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
72139 INFO: Bootloader C:\Users\reynaldo\AppData\Local\Programs\Python\Python36\lib\site-packages\PyInstaller\bootloader\Windows-64bit\run.exe
72139 INFO: checking EXE
72139 INFO: Building EXE because EXE-00.toc is non existent
72139 INFO: Building EXE from EXE-00.toc
72139 INFO: Appending archive to EXE C:\Users\reynaldo\AppData\Local\Temp\tmp7324buft\build\hello\hello.exe
72234 INFO: Building EXE from EXE-00.toc completed successfully.
72234 INFO: checking COLLECT
72234 INFO: Building COLLECT because COLLECT-00.toc is non existent
72234 INFO: Building COLLECT COLLECT-00.toc
72660 INFO: Building COLLECT COLLECT-00.toc completed successfully.
Moving project to: C:\Users\reynaldo\Desktop\auto-py-to-exe-2.6.6\output
Complete.
@brentvollebregt commented on GitHub (Apr 15, 2020):
Have you tried to run this script with Python itself?
@Zombie10 commented on GitHub (Apr 15, 2020):
I trying different versions of PyInstaller but nothing.
@jrcribb commented on GitHub (Apr 15, 2020):
You can't use the exe executing "python hello.exe". You must execute "hello.exe" without quotes
@Zombie10 commented on GitHub (Apr 15, 2020):
output.zip
hello.zip
yes I know, I do it because i want to see the error
@jrcribb commented on GitHub (Apr 15, 2020):
@Zombie10 commented on GitHub (Apr 15, 2020):
yeah you right, something is wrong in my windows version "Windows-10-10.0.18362-SP0". I tried another windows version and it works well.
