[PyQt] Runtime error with PyQt-5.8

Patrick Stinson patrickkidd at gmail.com
Thu Feb 23 02:34:58 GMT 2017

You must actually be using an out of date version of libsip.a. I had a similar problem today but with the ‘sip’ executable, in part because of incorrect PATH entries, and also form incorrect sip install paths.

To troubleshoot you could delete the libsip you are linking into your app (statically) or that python is loading (dynamically) and hit “make install” from sip again. check file dates.


> On Feb 22, 2017, at 3:56 PM, Baz Walter <bazwal at ftml.net> wrote:
> After building PyQt-5.8 with sip-4.19.1 I get the following runtime error:
>>>> from PyQt5 import QtCore
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
> RuntimeError: the sip module implements API v12.0 but the PyQt5.QtCore module requires API v12.1
> How can the PyQt5 API version be higher if I built it using the latest version of sip?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170222/602d7cea/attachment.html>

More information about the PyQt mailing list