How to install pyqt libraries?
On ubuntu these libraries are used
-
pyqt5-dev-tools
-
qttools5-dev-tools
-
qt5-default
Are there any way to install similar package from yum?
How to install pyqt libraries?
On ubuntu these libraries are used
pyqt5-dev-tools
qttools5-dev-tools
qt5-default
Are there any way to install similar package from yum?
Hi,
Please try
pip2 install PyQt5
or
pip3 install PyQt5
Thanks Tom.
Note:
pip
is something that you run only as regular user, because you don’t want it to drop packages into system directories.The question is, who has pyqt5?
$ dnf rq --whatprovides \*pyqt\*
python3-pyqt5-sip-0:4.19.24-2.el8.x86_64
python3-qt5-base-0:5.15.0-2.el8.i686
python3-qt5-base-0:5.15.0-2.el8.x86_64
The “sip” probably adds something for pyqt5, and 32bit … what does the 64bit python3-qt5-base have?
$ dnf rq -l python3-qt5-base.x86_64 | grep -i libpyqt5
/usr/lib64/qt5/plugins/PyQt5/libpyqt5qmlplugin.so
/usr/lib64/qt5/plugins/designer/libpyqt5.so
If that is what you are looking for, then: sudo dnf install python3-qt5-base
That should install required Qt5 packages as dependencies.
Headers are in “*-devel” packages. See dnf list qt5-\*devel
I’d guess that qt5-qtbase-devel
is what you need.
@jlehtone This was very useful. Thank you all.