[PyQt] pyuic4 and python3

Phil Thompson phil at riverbankcomputing.com
Tue Dec 22 16:56:15 GMT 2009

On Mon, 21 Dec 2009 15:10:35 -0500, Mitchell Model <MLMDev at comcast.net>
> When I installed PyQt4 using Python3, the pyuic4 script installed uses  
> pythonw, not python3 (or pythonw3 if that exists). As a result, it  
> used python 2.6, which did not include a PyQt installation, and it  
> couldn't find PyQt4. Officially Python 3 should be invoked as python3.

Unless you are on Windows...
> Is this something I should report as a bug somewhere or is this list  
> the appropriate destination? [OS 10.5, Python 3.1.1, PyQt 4.6.2]

This is a Mac specific problem where the value of sys.executable seems to
be useless. I'll try a different approach...


More information about the PyQt mailing list