[PyQt] Centos 7 attempt to build PyQt5 5.12 - PyQt5.sip not found

Barry Scott barry at barrys-emacs.org
Wed Mar 13 18:46:40 GMT 2019



> On 11 Mar 2019, at 20:05, Kyle Altendorf <sda at fstab.net> wrote:
> 
> 
> 
> On 2019-03-11 15:30, Barry Scott wrote:
>> I am trying to build PyQt5 with QScintilla from source on Centos 7.6.
>> These are the steps I use:
>> tar xf sip-4.19.14.tar.gz
>> cd sip*
>> python3.6 configure.py
> 
> http://pyqt.sourceforge.net/Docs/PyQt5/installation.html#downloading-sip
> 
> Note the note about `--sip-module PyQt5.sip`.
> 

Doh! I even have the that link book marked.

The docs say to do this:

	python configure.py --sip-module PyQt5.sip --no-tools

But --no-tools means that there is not /usr/bin/sip installed or sip.h
so the build PyQt5 fails in configure.py as it needs both.

The --no-tools needs to be removed I think.

Barry



More information about the PyQt mailing list