[PyQt] pyqtdeploy: No '_winapi' module

Barry Scott barry at barrys-emacs.org
Thu Nov 22 13:24:39 GMT 2018



> On 22 Nov 2018, at 09:25, Anton Kustov <anton.kustov at banuba.com> wrote:
> 
> Compiled application failed to run with next output:
>   File ":/subprocess.py", line 128, in <module>
>   File "bootstrap.py", line 971, in _find_and_load
>   File "bootstrap.py", line 953, in _find_and_load_unlocked
> ModuleNotFoundError: No module named '_winapi'
> 
> My environment:
> host and target: win-64
> PyQt5_gpl-5.10.1.tar.gz
> Qt5 installed version is 5.10.1 with msvc2017 amd64
> Python-3.6.7.tar.xz
> sip-4.19.8.tar.gz
> pyqtdeploy 2.3
> 
> What am I missing?

I'm guessing you built your own python and did not use the build option to add _winapi as a builtin module.

A python.org <http://python.org/> python 3.6 for windows 10 has that module as a built in.

Barry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20181122/334df30a/attachment.html>


More information about the PyQt mailing list