Martin, I saw this somewhere online to use from PyQt4 import QtCore
instead of PyQt4.QtCore.  The problem is that this is a large project
with many developers. And it'll be very hard for me to change the code
all across...Isnt this something that can be fixed in pyinstaller?

Thanks for the quick reply. I'll try a small example again thou.

On Jan 17, 1:43 pm, Martin Zibricky <[email protected]> wrote:
> Could you please create a small example, which would reproduce it?
>
> Maybe just starting a script with 'import PyQt4.QtCore' if it will work.
>
> Could you also please instead
>
>   import PyQt4.QtCore
>
> try this:
>
>   from PyQt4 import QtCore
>
> Ram píše v Po 17. 01. 2011 v 10:02 -0800:
>
>
>
>
>
>
>
> > I can create a .exe file for my application but when I run it, I get
>
> > Traceback (most recent call last):
> >   File "<string>", line 14, in <module>
> >   File "d:\cygwin\tmp\temp\pyinstaller-1.5-rc1\pyinstaller-1.5-
> > rc1\iu.py", line
> > 455, in importHook
> >     raise ImportError, "No module named %s" % fqname
> > ImportError: No module named PyQt4.QtCore
>
> > Any ideas on how to fix this?

-- 
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.

Reply via email to