Issue
I am trying to convert ui file created by QTDesigner to py file. but i get the error: pyuic5 is not recognized as an internal or external command. I use anaconda 3, and tried all suggestions here:
C:/Program is not recognized ...related to pyuic5.
and i have seen here:
'Pyuic4' is not recognized as an internal external command.
Solution
for any one has this problem: the key is that in anaconda3 pyuic5.bat is in:
Anaconda3\Library\bin
also the Designer is here.
so in cmd you must first cd to:
Anaconda\Library\bin\
then:
pyuic5.bat -x filename.ui -o filename.py
Answered By - keramat
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.