Error when using pyinstaller: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff

后端 未结 5 2256
不思量自难忘°
不思量自难忘° 2020-12-13 21:09

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=\".         


        
5条回答
  •  死守一世寂寞
    2020-12-13 21:22

    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.

提交回复
热议问题