Problem with pyqtdeploy 3.1.0

Phil Thompson phil at riverbankcomputing.com
Wed Sep 16 14:39:43 BST 2020


On 15/09/2020 17:14, Olaf-Marie Sergent wrote:
> Okay, thank you Patrick it was good because there was no file in 
> arguments,
> I was confused because the previous versions of pyqtdeploy opened 
> without a
> file.
> Now I have another problem when I want to build the demo:
> 
> demo$ python3 build-demo.py --target android --verbose
> Traceback (most recent call last):
>   File "/home/sergent/.local/bin/pyqtdeploy-sysroot", line 8, in 
> <module>
>     sys.exit(main())
>   File
> "/home/sergent/.local/lib/python3.8/site-packages/pyqtdeploy/pyqtdeploysysroot_main.py",
> line 91, in main
>     specification = SysrootSpecification(specification_file)
>   File
> "/home/sergent/.local/lib/python3.8/site-packages/pyqtdeploy/sysroot/specification.py",
> line 86, in __init__
>     plugin = self._plugin_from_file(name, default_plugin_dir)
>   File
> "/home/sergent/.local/lib/python3.8/site-packages/pyqtdeploy/sysroot/specification.py",
> line 162, in _plugin_from_file
>     spec = importlib.util.spec_from_file_location(name, plugin_file)
> AttributeError: module 'importlib' has no attribute 'util'

Both of these should be fixed in the next snapshot.

Thanks,
Phil


More information about the PyQt mailing list