我找到了bindings/QtDesigner目录,但是有所有的.sip文件。
sip-install工具还将安装sdist包中的绑定,但允许您配置安装的许多方面。sip-install需要一个名为pyproject.toml的文件,但是只有QtDesigner.toml,如果我将它重命名为pyproject.toml,它将无法运行。sip-install: pyproject.toml: the '[tool.sip.me
为此,我首先需要编译和安装sip。所以我编译并安装了sip。然后我编译并安装了PyQt5。到目前为止还没有问题。然后我试了试。$ python[GCC 6.3.0 20170516] on linux2
Type "help","copyright", "credits" or "license" for mor
我想安装PyQt5,就像官方文档上提到的那样。is the GPL version of PyQt 5.4.1 (licensed under the GNU General Publicbegueradj@begueradj:~/Bureau/sip-4.16.7# python configure.py
This is SIP 4.16.7 forPython
显然,我不需要安装PyQt5,因为它显示为Requirement already satisfied: pyqt5 in ./.eggs/PyQt5-5.14.2-py3.8-linux-x86_64.egg (5.14.2) Requirement already satisfied: PyQt5-sip<13,>=12.7 in ./.eggs/PyQt5_sip-12.7.2-py3.8-linux-x869, in <module>
我用突触安装了PyQt4。我使用Python3,所以我需要在eclipse中配置PyQt4的路径,但是似乎synaptic只为python2安装了PyQt4,因为我只在python2.6和2.7下找到了相关的文件和文件夹。"<stdin>", line 1, in <module>但奇怪的是,相同的代码不会导致python2.7中的错误(我的机器上安装了
例如,以下代码产生分段错误:我想有些模块的安装有错配.下面是回溯:#3 0x00007ffff5f41b7d in ??() from /usr/lib/python3/dist-packages/PyQt4/QtCore.cpython-35m-x86_64-linux-gnu.so
#4 0x00007ffff5e1