在安装过程中,pyqt5无法识别最新的sip版本
sip安装:
sip-4.17$ sudo python3 configure.py
This is SIP 4.17 for Python 3.4.3 on linux.
The SIP code generator will be installed in /usr/bin.
The sip module will be installed in /usr/lib/python3/dist-packages.
The sip.h header file will be installed in /usr/include/python3.4m.
The default directory to install .sip files in is /usr/share/sip.
Creating siplib/sip.h...
Creating siplib/siplib.c...
Creating siplib/siplib.sbf...
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...
安装了正确的sip版本
~/Downloads/sip-4.17$ sudo python3 configure.py --version
This is SIP 4.17 for Python 3.4.3 on linux.
4.17
Pyqt安装:
PyQt-gpl-5.5.1$ sudo python3 configure.py
Querying qmake about your Qt installation...
Determining the details of your Qt installation...
This is the GPL version of PyQt 5.5.1 (licensed under the GNU General Public
License) for Python 3.4.3 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: This version of PyQt5 requires sip 4.16.6 or later.
任何提示?
经销商ID:Ubuntu
描述:Ubuntu 14.04.3 LTS
发布:14.04
代号:可信赖Linux DSKTOP 3.13.0-68-generic#111-Ubuntu SMP Fri Nov 6 18:17:06 UTC 2015 x86_64 x86_64 x86_64 GNU / Linux
答案 0 :(得分:2)
我使用
安装了SIPmake
sudo make install
并且PyQt安装顺利进行