[PyQt] Problem using py2exe with PyQt 4.4.2 on windows

Catriona Johnson catriona.johnson at gmail.com
Wed Jul 16 03:05:02 BST 2008


Hi

I am using Python 2.5.1, Qt 4.4.0, PyQt 4.4.2 and sip 4.7.6

When I run setup(windows=[{"script" : "main.pyw"}], options={"py2exe"
: {"includes" : ["sip", "PyQt4._qt"]}}) from my project directory, I
get the following error

File "C:\Python25\Lib\site-packages\py2exe\mf.py", line 197, in load_tail
    raise ImportError, "No module named " + mname
ImportError: No module named PyQt4._qt

How can I fix this. It used to work before I upgraded PyQt

Thanks


More information about the PyQt mailing list