Oddly enough, I created a exe for a wxpython app I have and I get the same error for QtCore module missing even though I do not even use it in this other app.
Is there an issue I am not aware of? Thanks On Monday, June 23, 2014 5:04:09 PM UTC-4, Tom Russell wrote: > > I am trying to build a exe for Ubuntu with pyinstaller and hit an error > after it successfully builds. > > My error is: Traceback (most recent call last): > File "<string>", line 36, in <module> > ImportError: No module named QtCore > > > In my app I use from PySide import QtGui, QtCore > > My spec file looks like: > > # -*- mode: python -*- > a = Analysis(['/home/tom/NJM_GUI.py'], > pathex=['/usr/lib/python2.7/dist-packages/PySide/', > '/home/tom'], > hiddenimports=[], > hookspath=None, > runtime_hooks=None) > pyz = PYZ(a.pure) > exe = EXE(pyz, > a.scripts, > a.binaries, > a.zipfiles, > a.datas, > name='NJM_GUI', > debug=False, > strip=None, > upx=True, > console=True ) > > I built it like this: > > pyinstaller -F '/home/tom/NJM_GUI.py' -p > '/usr/lib/python2.7/dist-packages/PySide/' > > What do I do to fix this issue? Exe gets built fine but seems to be > missing this module. > > Thanks, > > Tom > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyinstaller. For more options, visit https://groups.google.com/d/optout.
