[PyQt] Fwd: cx_freezing with python3.1 and pyqwt
KONTRA, Gergely
pihentagy at gmail.com
Wed Sep 14 20:21:52 BST 2011
Hi!
Forgive me trying my luck here, but this problem of mine seems to be
pyqt-pyqwt related, so I hope there are some wise people to help me
out
thanks
Gergo
---------- Forwarded message ----------
From: KONTRA, Gergely <pihentagy at gmail.com>
Date: Tue, Aug 30, 2011 at 20:35
Subject: cx_freezing with python3.1 and pyqwt
To: cx-freeze-users <cx-freeze-users at lists.sourceforge.net>
Hi all!
I am trying to freeze my project with cx_freeze.
Project is here:
http://biqazo.googlecode.com
I am under win32, python3.1.3, using designer with QwtPlot inside the
GUI (I have hand-written the xml)
after freezing, when I start the exe, the following is printed:
D:\tmp\biq\dist>biQazo.exe
Traceback (most recent call last):
File "C:\programs\Python31\lib\site-packages\cx_Freeze\initscripts\Console3.py
", line 27, in <module>
exec(code, m.__dict__)
File "biQazo.py", line 62, in <module>
File "C:\programs\Python31\lib\site-packages\PyQt4\uic\__init__.py", line 203,
in loadUiType
exec(code_string.getvalue(), ui_globals)
File "<string>", line 700, in <module>
ImportError: No module named qwtplot
What I have figured out for freezing is:
D:\tmp\biq>c:\programs\Python31\Scripts\cxfreeze.bat biQazo.py
--include-modules=PyQt4.QtSvg,numpy.lib.format,serial.win32,resources_rc
--exclude-modules=tcl,tkinter
Note that after checkout, I started the program once to get
resources_rc.py generated
Any hints would be welcome
+-[ Gergely Kontra <pihentagy at gmail.com> ]------------------+
| |
| Mobile:(+36 20)356 9656 |
| |
+- "Olyan lángész vagyok, hogy poroltóval kellene járnom!" -+
More information about the PyQt
mailing list