[PyKDE] using pyqt with py2exe

Matthias Frick matthias.frick at rsel.renesas.com
Thu Dec 8 14:35:54 GMT 2005


I want to compile my python application (using pyqt) with py2exe.

This works fine with this call:

    python setup.py py2exe -i sip

But my problem start if I use some stuff of the qtsql.
I get this error when I start the compiled exe file:

    Traceback (most recent call last):
      File "lpan_hauptpg.py", line 15, in
      File "qtsql.pyc", line 9, in ?
      File "qtsql.pyc", line 7, in __load
    ImportError: No module named qttable

in the depending line this is written:

from qttable import *

I tried other ways to import it, but didn?t get any change.

I hope you understand my problem
and can give me some usefull solutions.


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on
it, is prohibited.
E-mail messages are not necessarily secure.  Renesas does not accept
responsibility for any changes made to this message after it was sent.
Please note that this email message has been swept by Renesas for
the presence of computer viruses.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20051208/01369080/attachment.html

More information about the PyQt mailing list