无法安装 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

相关内容