I have a launcher application written in Python that launches my main 
Python application. Both of these applications were compiled using 
pyinstaller on Windows using the --onedir flag and with custom module paths 
using the --path option. 

Upon launching my main application using the subprocess module, I am 
receiving "ImportError: No module named QtCore." However when I launch my 
main application exe using the CLI or via explorer, I am able to launch it 
fine. My main application actually does use Qt, but my launcher application 
does not. If I copied "PyQt4.QtCore.pyd" and other PyQt related dlls from 
the directory containing my main application exe into the directory where 
my launcher app lives, it was able to launch my main application perfectly 
fine. 

I am boggled by this as my launcher application does not need Qt at all so 
why do I need to do this. This problem seems to only occur on a few Windows 
8 machine including my development machine. Running from source works fine. 
Since it is only reproduceable on some machines, it is really hard to 
figure out what is the problem. Any idea guys?

Thanks

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to