I am trying to convert a .ui file generated in Qt4 into python executable file.
I've tried installing pyqt4 dev tools by the following command:
pip install pyqt4-dev-tools
But found an exception as follows:
Could not find a version that satisfies the requirement pyqt4-dev-tools (from versions: )
No matching distribution found for pyqt4-dev-tools.
Will be pleased if anyone provides a solution.Thank you.
For Windows, if you installed PyQt4 package already, you should have the pyuic tool available. You can call it with usingpython C:\Python\Python2.7\Lib\site-packages\PyQt4\uic\pyuic.py UIFileName.ui -o PythonFileName.py -x
Python27 - PyQt4