我使用的是可移植的Winpython与Python 3和Qt Designer 5.5。我找到的教程说用pyuic将.ui文件转换为.py。我在目录中找不到pyuic文件。我使用的是Windows7和WinPython的可移植版本。
您已经安装PyQt和Qt了吗?http://pythoncentral.io/install-pyside-pyqt-on-windows-mac-linux/
如果是这样,请打开cmd并转到与.ui文件相同的目录,然后使用:
pyuic5输入.ui-o输出.py
希望这能有所帮助。