Couldn't use PyQt5 built by latest sip 6.6.2

Phil Thompson phil at riverbankcomputing.com
Sat Jun 18 08:41:14 BST 2022


On 18/06/2022 08:17, مهدي شينون wrote:
> The latest available version in PyPi is 12.10.1
> 
> PyQt5-sip · PyPI [1]
> 
> Could you please update it.

When the next release of PyQt5 is made.

If you are building everything else from source then build this as 
well...

https://www.riverbankcomputing.com/static/Docs/sip/command_line_tools.html#sip-module

Phil

> على ١٩/١١/٤٣ ‫٠٨:١٤ ص، كتب Phil Thompson:
> 
>> On 18/06/2022 06:39, مهدي شينون wrote:
>> 
>>> Hi,
>>> 
>>> I have built successfully PyQt5 12.10.1 and PyQt5 5.15.6 by sip
>>> 6.6.2
>>> and PyQt-builder 1.13.0, but couldn't use it
>>> 
>>> ```
>>> 
>>> import PyQt5
>>> 
>>> ```
>>> 
>>> returns this error:
>>> 
>>> ```
>>> 
>>> RuntimeError: the sip module implements API v12.0 to v12.10 but
>>> the
>>> PyQt5.QtCore module requires API v12.11
>>> 
>>> ```
>> 
>> Build the latest version of the sip module.
>> 
>> Phil
> 
> 
> Links:
> ------
> [1] https://pypi.org/project/PyQt5-sip/


More information about the PyQt mailing list