【发布时间】:2018-12-08 10:29:43
【问题描述】:
我正在尝试从源代码构建 PyQt5。我正在运行 fedora 28,并通过 dnf 安装了 Qt5。在this 之后安装 Sip 似乎没问题。但是当我尝试配置 PyQt 时,我得到了这个错误:
# python3 configure.py -q /usr/bin/qmake-qt5
Querying qmake about your Qt installation...
Error: Unable to import PyQt5.sip. Make sure you have configured SIP to
create a private copy of the sip module.
根据doc我做的:
# python3 configure.py --sip-module private.sip
# python3 configure.py -q /usr/bin/qmake-qt5 -n private.sip
但我仍然得到错误。所以我猜我没有正确使用它。有什么建议吗?
P.S:我知道(我确实知道)可以通过pip 完成,但我面临与here 相同的问题
【问题讨论】:
标签: pyqt5 python-sip