0

I have a study assignment due that requires me to convert a *.ui file from Qt into a *.py file using the command prompt. However I have been struggling because I can not find the Pyuic5/4 module used to convert a *.ui file into a *.py file. {I have literally dug through and searched for it in my drive and can not find it}

I have the mots recent Qt and Python download and running well.

Any help or alternative method to converting *.ui to *.py would really be appreciated!

2
  • What platform are you on, and how did you install pyqt? Commented Sep 11, 2017 at 15:48
  • I am using PyQt GPL v5.4.1 for Python v3.4 (x64). It seems the install I have did not manage to include the pyuic file at al and I had to find it and set it in the Qt folder in my drive. And odd procedure but it seems to do the trick, though I am not comfortable with it as the conversion in the command prompt usually does not succeed. If feels like a patchwork solution for some odd reason. I am running on Windows 7 and I installed it via the Qt website. Commented Sep 18, 2017 at 11:01

1 Answer 1

2

Try to run pip install pyuic5-tool in your terminal.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.