[PyQt] Problems using PyQt 4.7 and py2exe

piotr maliński riklaunim at gmail.com
Thu Feb 4 13:40:21 GMT 2010


Try in setup this config:

setup(windows=[{"script" : "MYFILE.py"}], options={"py2exe" :
{"includes" : ["sip", "PyQt4.QtNetwork"]}})


If it will still throw an exception add the QtWebkit to includes.

2010/2/4 Albert Cervera i Areny <albert at nan-tic.com>

> If I create the installer for my application using py2exe and PyQt 4.7, the
> application starts but fails with the following exception with QtWebKit:
>
> ImportError: DLL load failed: Can not find find the specified module.
>
> The installer works like a charm with PyQt 4.7rc2, though.
>
> The list of "system" dlls detected by py2exe is different in both versions,
> and considers QtNetwork and QtSvg as system dlls with PyQt 4.7, while it
> does
> *not* using rc2.
>
> Any ideas?
>
> --
> Albert Cervera i Areny
> http://www.NaN-tic.com
> Mòbil: +34 669 40 40 18
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100204/3175ca00/attachment.html>


More information about the PyQt mailing list