[PyQt] Version problem with sip snapshot

Glenn Ramsey gr at componic.co.nz
Fri Nov 16 03:02:44 GMT 2018


On 16/11/18 2:38 PM, Glenn Ramsey wrote:
> Hi,
> 
> I've installed sip from sip-4.19.14.dev1810291324 but when I try to configure
> PyQt5 (PyQt5_commercial-5.12.dev1810261601) I get the following error:
> 
> Error: C:\Python27\include\sip.h has version 4.19.13 but C:\Python27\sip.exe
> has version 4.19.14.dev1810291324.
> 
> Inspecting C:\Python27\include\sip.h I find:
> 
> ...
> /*
>  * Define the SIP version number.
>  */
> #define SIP_VERSION         0x04130e
> #define SIP_VERSION_STR     "4.19.14.dev1810291324"
> ...
> 
> which appears to be correct.
> 
> I did have sip 4.19.13 installed previously.
> 
> Anyone know why this might be happening?

This was because configure.py reads the version info from a generated cfgtest_*
file.

nmake distclean doesn't seem to delete these files. Fixed it by using a fresh
copy of the PyQt5 source.

Glenn


More information about the PyQt mailing list