No module named 'PyQt5.QtXmlPatterns'
An error has occurred while executing Python code:
ModuleNotFoundError: No module named 'PyQt5.QtXmlPatterns' Traceback (most recent call last): File "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 358, in fillTree self.fillTreeUsingProviders() File "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 425, in fillTreeUsingProviders providerItem = TreeProviderItem(provider, self.algorithmTree, self) File "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 537, in init self.setIcon(0, self.provider.icon()) File "/home/u/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/algorithmprovider.py", line 81, in icon from enmapbox.gui.enmapboxgui import getIcon File "/usr/lib/python3/dist-packages/qgis/utils.py", line 664, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/home/u/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/gui/enmapboxgui.py", line 33, in from enmapbox.gui.maptools import * File "/usr/lib/python3/dist-packages/qgis/utils.py", line 664, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/home/u/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox/gui/maptools.py", line 30, in from PyQt5.QtXmlPatterns import * File "/usr/lib/python3/dist-packages/qgis/utils.py", line 664, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ModuleNotFoundError: No module named 'PyQt5.QtXmlPatterns'
Python version: 3.6.5 (default, Apr 1 2018, 05:46:30) [GCC 7.3.0] QGIS version: 3.0.2-Girona Girona, 307d082
Python Path: /usr/share/qgis/python /home/u/.local/share/QGIS/QGIS3/profiles/default/python /home/u/.local/share/QGIS/QGIS3/profiles/default/python/plugins /usr/share/qgis/python/plugins /usr/lib/python36.zip /usr/lib/python3.6 /usr/lib/python3.6/lib-dynload /usr/local/lib/python3.6/dist-packages /usr/lib/python3/dist-packages /home/u/.local/share/QGIS/QGIS3/profiles/default/python /home/u/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin /home/u/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/enmapbox /home/u/.local/share/QGIS/QGIS3/profiles/default/python/plugins/enmapboxplugin/site-packages
Comments (5)
-
-
- changed component to External Apps
-
Already solved it. Just:
sudo apt-get update
sudo apt-get install python3-pyqt5.qtxmlpatterns
Hoping that it works for you all!
-
- changed status to closed
closes bug
#110→ <<cset 9db257de4f53>>
-
closes bug
#110→ <<cset 9db257de4f53>>
- Log in to comment
Yeap, I have the similar issue. QGIS is recently updated to version 3.2 but the issue remains:
It seems Python found no module namely PyQt5.QtXmlPatterns. But how I install this module? Last time, I tried to install and result in reinstalling my Lubuntu ;-(