Answer the question
In order to leave comments, you need to log in
Pyinstaller QT5: upx compression windows error on program startup?
pyqt5, python 3.6, pyinstaller 3.1 or 3.4 dev, win 7 x86
doesn't work with upx compression,
Compiling: pyinsstaller progname.pyw
build successful
run:
cd .\dist\progname
progname.exe
And I get:Program 'progname.exe' has stopped working Windows is looking for a fix for this error...
Program 'progname.exe' is not working A problem has caused the program to stop working.
Windows will close the program and, if there is a known workaround for the problem,
will notify you.
Debugging Close program
cd ..\..\
notepad progname.spec
I change the parameter to Build
again and run:upx=True
upx=False
pyinsstaller progname.spec
cd .\dist\progname
progname.exe
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question