I have an issue when i compile a PyQt code with pyinstaller.
I use this line to compile:
c:\\Anaconda3\\Scripts\\pyinstaller.exe -y -F --distpath=\".
Changing compat.py works for me: out = out.decode(encoding, "replace")
This is a known problem on pyinstaller and the developers are working on it. https://github.com/pyinstaller/pyinstaller/pull/3895
I hope this bug will solved on the next update.