I'm new to PyInstaller, but very impressed with what I've already seen. I 
ran across an error and wondered if anyone could help:

ImportError: No module named Qsci

This occurs when calling PyQt4.uic.loadUiType, when the underlying .ui file 
contains a QScintilla widget. I'm creating a single-directory executable on 
Windows 7 Enterprise, sp1, Python 2.7.2 32 bit, PyInstaller 1.5.1. I can 
see that the directory contains PyQt4.Qsci.pyd, so I'm surprised this 
doesn't work. Looking into the error, it's triggered by line 203 of 
PyQT4.uic, which calls exec() on the python code generated from the .ui 
file. When I hand-generate the code, this is indeed the line 'from PyQt4 
import QSci'. Placing this line in my main code doesn't seem the help; 
however, loading file generated by pyuic4 from the .ui file does provide a 
workaround.

Any thoughts?

Thanks!

Bryan

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pyinstaller/-/GTNAhwyTgFEJ.
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