[PyQt] ot? problems with pyinstaller under windows
Jochen Georges
jochengeorges at yahoo.de
Sat Jan 26 16:10:34 GMT 2008
Hello,
i hope this topic is not too much off topic.
i try to make a *exe with pyinstaller out of a very
simple "hello-world"-pyqt-application (just one file).
it seems to work fine, but when i start the exe-file i get this message:
File "<string">, line 13, in <module>
File "C:\Programme\pyinstaller-1.3\iu.py", line 312, in importHook
mod = _self_doimport(nm, ctx, fqname)
File "C:\Programme\pyinstaller-1.3\iu.py", line 373, in doimport
mod = importfunc(nm)
File "C:\Programme\pyinstaller-1.3\iu.py", line 215, in getmod
mod = owner.getmod(nm)
File "C:\Programme\pyinstaller-1.3\archive.py", line409, in getmod
return iu.DirOwner.getmod(self, self.prefix+'.'+nm)
File "C:\Programme\pyinstaller-1.3\iu.py", line 77, in getmod
mod = imp.load_module(nm, fp, attempt, (ext, mode, typ))
File "C:\Programme\pyinstaller-1.3\iu.py", line 334, in importHook
raise ImportError, "No module named %s" % fqname
ImportError: No module named PyQt4._qt
dir distconnections:
bz2.pyd
connections.exe
MSVCR71.dll
PyQt4.QtCore.pyd
PyQt4.QtGui.pyd
python25.dll
sip.pyd
unicodedata.pyd
There is also a file hook-PyQt4.py in the hooks/ folder of PyInstaller
with: "hiddenimports = ['sip']".
can you give me any hint?
thanks in advance
beste gruesse
jochen
More information about the PyQt
mailing list