-1
Hello
I created a executable with the
pyinstaller
pyinstaller --onefile -c app.py
contents of the archive app.py
print("hello world")
x = input("Qual seu nome?")
print(x)
after generated while opening the . exe it does not run, gives no error and does not appear in windows Task Manager
python== 3.8.0
pyinstaller == 3.6
100 INFO: UPX is not available.
100 INFO: Extending PYTHONPATH with paths
['C:\\...\teste pyinstaller',
'C:\\...\\teste pyinstaller']
100 INFO: checking Analysis
125 INFO: checking PYZ
156 INFO: checking PKG
156 INFO: Building because C:\...\teste pyinstaller\build\hello\hello.exe.manifest changed
156 INFO: Building PKG (CArchive) PKG-00.pkg
1845 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
1845 INFO: Bootloader c:\...programs\python\python38-32\lib\site-packages\PyInstaller\bootloader\Windows-32bit\run.exe
1845 INFO: checking EXE
1861 INFO: Rebuilding EXE-00.toc because pkg is more recent
1861 INFO: Building EXE from EXE-00.toc
1861 INFO: Appending archive to EXE C:\...\teste pyinstaller\dist\hello.exe
1892 INFO: Building EXE from EXE-00.toc completed successfully.
I always watch the videos of Source Code tv where they use pyinstaller, only in my case it doesn’t work
– Acácio Silva