[PyQt] Unable to generate Python code.

Phil Thompson phil at riverbankcomputing.com
Tue Sep 15 16:16:18 BST 2009

On Tue, 15 Sep 2009 17:02:14 +0200, NFO MAKER <nfomaker at gmail.com> wrote:
> Hi!I have a problem with the Qt Designer, when trying to generate the
> from the ui I have created I get the following error:
> "Code generation failed
>      Unable to launch C:/Python31/Lib/site-packages/PyQt4/.\uic"
> I have tried to reinstall both Qt Designer, Qt and Python several times
> without any result.
> I guess I have done something wrong when installing the different apps.
> PS: I am running Windows Vista.

Designer doesn't know anything about Python. You need to run pyuic4 from
the command line.


More information about the PyQt mailing list