cx_freeze version: 4.1 (on linux compiled from sources, on windows installed
from binary package)
Python version: 3.0.1 on linux; 3.1.1 on windows
PyQt version: 4.5.4 and 4.6rc (on linux compiled from sources; on windows
4.6rc installed from binary package, 4.5.4 compiled from sources)

simple test application:

###
    import sys
    from PyQt4.QtCore import *
    from PyQt4.QtGui import *

    app = QApplication(sys.argv)
    form = QDialog()
    form.show()
    app.exec_()
###

Next:
    E:\cxfreeze test.pyw --include-modules sip
    <...>

On linux:
    $ dist/test
On windows:
    E:\>dist\test.exe

Same error:

Traceback (most recent call last):
  File "e:\python31\lib\site-packages\cx_Freeze\initscripts\Console3.py",
line 27, in <module>
    exec(code, m.__dict__)
  File "calculate.pyw", line 15, in <module>
    from PyQt4.QtCore import *
  File "ExtensionLoader_PyQt4_QtCore.py", line 16, in <module>
AttributeError: 'NoneType' object has no attribute 'modules'

With Python 2.6 and PyQt 4.5.4 test app start normally.
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to