Martin,
Thank you. The latest version does fix the 'no module named PyQt4.QtCore'
bug.
However, I still had the error 'no handlers could be found for logger
OpenGL.arrays.arraydatatype' on Windows 7 when trying to run the binary.
Here is a small example to reproduce the error:
from PyQt4 import QtGui, QtCore
from OpenGL.GL import *
from OpenGL.GLU import *
import sys
def main():
app = QtGui.QApplication(sys.argv)
window = QtGui.QMainWindow()
window.show()
sys.exit(app.exec_())
if __name__ == '__main__':
main()
Yifei
On Tue, Apr 17, 2012 at 5:59 AM, Martin Zibricky <[email protected]>wrote:
> Hi Yifei,
>
> it is fixed in develop branch.
>
> Yifei Li píše v Ne 15. 04. 2012 v 16:25 -0400:
> > Thanks. I downloaded the latest version from Github.
> >
> > However, I had a different error when I tried to run the binary:
> >
> > Traceback (most recent call last): File "<string>", line 21, in
> > <module> File "C:\Users\yifli\Downloads\pyinstaller-devel
> > \PyInstaller\loader\iu.py", line 409, in importHook raise
> > ImportError("No module named %s" % fqname) ImportError: No module
> > named PyQt4.QtCore
> >
> > I replaced all the occurrences of 'from PyQt4.QtCore import' with
> > 'from PyQt4 import QtCore', and then did a grep for 'PyQt4.QtCore' to
> > make sure nothing is left. I removed all *.pyc files.
> >
> > But I still got the same error. Could you please help me fix this
> > issue?
>
> --
> You received this message because you are subscribed to the Google Groups
> "PyInstaller" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/pyinstaller?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.