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

Phil Thompson phil at riverbankcomputing.com
Wed Mar 13 19:26:33 GMT 2019


On 13/03/2019 18:46, Barry Scott wrote:
>> 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.

Update your bookmark, that’s out of date documentation. I’ll get around 
to removing it at some point.

Phil



More information about the PyQt mailing list