Fix for bug in pyqtdeploy:specification.py

Patrick Stinson patrickkidd at gmail.com
Fri Oct 9 21:34:56 BST 2020


Explanation here:

https://stackoverflow.com/questions/39660934/error-when-using-importlib-util-to-check-for-library <https://stackoverflow.com/questions/39660934/error-when-using-importlib-util-to-check-for-library>



> On Oct 9, 2020, at 12:34 PM, Patrick Stinson <patrickkidd at gmail.com> wrote:
> 
> pyqtdeploy-sysroot triggers a python bug on some python installs. It is a simple workaround in pyqtdeploy/sysroot/specification.py:
> 
> from importlib import util as importlib_util
> 
> ...should be used instead of...
> 
> Import importlib; importlib.util
> 
> I used pyenv to install python-3.7.8 then installed pyqtdeploy using pip. The bug did not occur when using a host python-3.7.8 built myself from source.
> 
> Cheers,
> -Patrick
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20201009/e5303ec9/attachment.htm>


More information about the PyQt mailing list