[PyQt] pyqtdeploy (win32): generated console exe crashes with LookupError: unknown encoding

Ilya Kulakov kulakov.ilya at gmail.com
Mon Nov 9 19:16:59 GMT 2015


Looks like you didn't include any encodings in your pdy file.

Best Regards,
Ilya Kulakov



> On 09 Nov 2015, at 14:11, Marius Shekow <marius.shekow at fit.fraunhofer.de> wrote:
> 
> Hi,
> 
> I'm on Windows 8 and I'm trying to get my Python 3 PyQt application working as a redistributable executable. I've been able to create the exe file using pyqtdeploy successfully. I'm using sip and PyQt 5.5.1 as static builds, Qt and Python 3.4.3 as dynamic builds. I'm using MSVS 2012 for compilation.
> 
> When I start the executable (and the console option in pyqtdeploy is disabled), simply nothing happens (no window is shown and I don't know how to get debug output in this case). That's why I enabled the console option in pyqtdeploy. However, then the exe file always immediately crashes with the following error:
> 
> Fatal Python error: Py_Initialize: can't initialize sys standard streams
> LookupError: unknown encoding: cp850
> 
> Please note that it doesn't matter whether I chcp the code page to something else (in particular 65001, which doesn't work either, I'll just get "LookupError: unknown encoding: cp65001").
> 
> Any ideas?
> 
> Best regards,
> Marius Shekow
> -- 
> Marius Shekow
> Mixed and Augmented Reality Solutions, Fraunhofer FIT
> http://www.fit.fraunhofer.de/mars
> Tel.: +49 (0)2241 - 14-2184
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20151109/fb6d321b/attachment.html>


More information about the PyQt mailing list