無法安裝PyQt5

無法安裝PyQt5

我從這個網站下載了一個包PyQt5_gpl-5.12.1.tar.gz

但安裝時...

[****@localhost PyQt5_gpl-5.12.1]$ python3.7 ./configure.py --qmake /usr/lib64/qt5/bin/qmake-qt5


Querying qmake about your Qt installation...
Determining the details of your Qt installation...
This is the GPL version of PyQt 5.12.1 (licensed under the GNU General Public
License) for Python 3.7.2 on Linux.

Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.

Do you accept the terms of the license? yes

Found the license file pyqt-gpl.sip.
Error: Make sure you have a working sip on your PATH or use the --sip argument
to explicitly specify a working sip.

然後我不確定我是否做得正確。

[****@localhost PyQt5_gpl-5.12.1]$ python3.7 ./configure.py --qmake /usr/lib64/qt5/bin/qmake-qt5 --sip /usr/lib64/python3.7/site-packages/PyQt5/sip.so
Error: '/usr/lib64/python3.7/site-packages/PyQt5/sip.so -V' did not generate
any output.

我使用 Fedora Linux 29

相關內容