[PyQt] Help with getting sip built on Windows
Phil Thompson
phil at riverbankcomputing.com
Sun Feb 10 10:02:39 GMT 2019
On 10 Feb 2019, at 1:53 am, Neil Jansen <njansen1 at gmail.com> wrote:
>
> So since I got the build environment working, I kept going and managed to get a pyqtdeploy sysroot built for the demo project. Then tried to build the demo with pyqtdeploy-build. It's failing, with this message:
>
> pyqtdeploy-build --target win-64 --sysroot sysroot-win-64 --build-dir build-win-64 --verbose pyqt-demo.pdy
> Cleaning C:\Tools\pyqtdeploy\demo\build-win-64
> [...]
> Freezing C:\Tools\pyqtdeploy\demo\sysroot-win-64\lib\python3.5\_sysconfigdata.py...
> Execution of 'pyqtdeploy-build' failed with error code 1
>
> I can confirm it doesn't exist in the sysroot-win-64/lib/python3.5 directory). If I remove sysconfig from the list of dependencies in the PDY editor GUI, and retry, it'll get much farther along in the install. However the pyqt-demo.py calls it out as a dependency so I'd like to get it fixed so that I can build the demo.
>
>
> So, why did my sysroot not generate a _sysconfigdata.py? I can't find much information on what it does, or which operating systems it's applicable to, or how it's generated.
>
> Here's some information on my setup:
>
> OS: Windows 7 Enterprise
> Architecture: 64-bit
> Compiler: MSVC 2017 64-bit
> Python version: 3.5.1
> Sip version: 4.19.13
> pyqtdeploy version: 2.3.1
> Qt version: 5.12.1
> PyQt version: 5.11.3
> Openssl: 1.1.1a
> zlib: 1.2.11
It looks like a bug affecting Windows and Python v3.5 and earlier. Try the attached patch.
Phil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyqtdeploy.patch
Type: application/octet-stream
Size: 535 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190210/5eba2350/attachment.obj>
More information about the PyQt
mailing list