LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   pyuic-command-is-not-working-in-centos-7 (https://www.linuxquestions.org/questions/linux-newbie-8/pyuic-command-is-not-working-in-centos-7-a-4175520856/)

nprakash 10-02-2014 12:05 PM

pyuic-command-is-not-working-in-centos-7
 
Its been crazy last 3 days.
I have installed Pyqt 4.10.4 and QT 5.3.2 in my Centos 7.0 OS. I have also installed QT Designer and have created a layout (.ui format). I want to change it to .py form using pyuic4/pyuic/pyrcc any of them. When I use "pyuic inputfile.ui -o outputfile.py" then bash says pyuic command not found... Why am I getting this inspite of having QT and Pyqt and how can I rectify it. Please suggest

knudfl 10-02-2014 04:58 PM

Welcome to LQ.
Quote:

... 3 days
CentOS 7 → 3 minutes : # yum install PyQt4-devel
.. you will get PyQt4-devel-4.10.1, providing /usr/bin/pyuic4

The libraries etc. mentioned in your post :
Looks like "all manual build".
Please try searching for pyuic5 / pyuic4, e.g. with $ which pyuic5 ,
$ which pyuic4 , .. or just type $ pyuic<TAB> , or $ pyu<TAB> .
May be ``bash completion´´ will fill out the word ending.


-

nprakash 10-03-2014 09:15 AM

Thank you so much
 
You are just awesome. Why the hell I did not ask this earlier.. Thanks friend


All times are GMT -5. The time now is 07:10 PM.