[PyQt] [pyqtdeploy] RuntimeError: not holding the import lock

Ilya Kulakov kulakov.ilya at gmail.com
Mon Nov 13 22:17:32 GMT 2017

Implementations of import.c, bootstrap and bootstrap_external were changed after 3.6.0 was released.

Here is the patch that should address the issue: https://patch-diff.githubusercontent.com/raw/GreatFruitAndy/pyqtdeploy/pull/1.patch

> On Nov 13, 2017, at 12:31 PM, Ilya Kulakov <kulakov.ilya at gmail.com> wrote:
> Hi,
> We're in process of upgrading our interpreter to 3.6.3 (and patching pyqtdeploy's metadata where needed along the way)/
> Currently an attempt to launch a frozen version results in:
> Traceback (most recent call last):
>   File "bootstrap.py", line 1146, in _install
>   File "bootstrap_external.py", line 1450, in _install
>   File "bootstrap.py", line 960, in _find_and_load
>   File "bootstrap.py", line 150, in __enter__
> RuntimeError: not holding the import lock
> Fatal Python error: Py_Initialize: importlib install failed
> Is it a known problem? Was it fixed in after the release of 1.3.2?
> What steps could we take to determine the cause?
> Best Regards,
> Ilya Kulakov

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

More information about the PyQt mailing list