Moi
Ko. lisäosan asennus kaatuu ao. virheeseen:
Couldn't load plugin 'redLayer' due to an error when calling its classFactory() method
ModuleNotFoundError: No module named 'PyQt5.QtWebKit'
Traceback (most recent call last):
File "/app/share/qgis/python/qgis/utils.py", line 334, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python/plugins/redLayer/__init__.py", line 34, in classFactory
from .redLayerModule import redLayer
File "/app/share/qgis/python/qgis/utils.py", line 737, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python/plugins/redLayer/redLayerModule.py", line 28, in
from PyQt5.QtWebKit import *
File "/app/share/qgis/python/qgis/utils.py", line 737, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'PyQt5.QtWebKit'
Python version: 3.7.3 (default, Nov 10 2011, 15:00:00) [GCC 8.3.0]
QGIS version: 3.8.3-Zanzibar Zanzibar, 685d8b15
Python Path:
/app/share/qgis/python
/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python
/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python/plugins
/app/share/qgis/python/plugins
/usr/lib/python37.zip
/usr/lib/python3.7
/usr/lib/python3.7/lib-dynload
/usr/lib/python3.7/site-packages
/app/lib/python3.7/site-packages
/app/lib/python3.7/site-packages/numpy-1.14.3-py3.7-linux-x86_64.egg
/app/lib/python3.7/site-packages/MarkupSafe-1.0-py3.7-linux-x86_64.egg
/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python
/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python/plugins/DigitizingTools/tools
/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python/plugins/DigitizingTools
Virheessä mainittu kirjasto/moduuli on asennettu eikä so. pitäisi olla ongelmaa.
Lisäksi itseäni ihmetyttää nuo "/app/..." polkujen viittaukset?
EDIT: Sama myös qgis2web lisäosan kanssa, joka herjaa hieman eri moduulista:
Couldn't load plugin 'qgis2web' due to an error when calling its classFactory() method
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'
Traceback (most recent call last):
File "/app/share/qgis/python/qgis/utils.py", line 334, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/__init__.py", line 28, in classFactory
from .qgis2web import Qgis2Web
File "/app/share/qgis/python/qgis/utils.py", line 737, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/qgis2web.py", line 30, in
from qgis2web.maindialog import MainDialog
File "/app/share/qgis/python/qgis/utils.py", line 737, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python/plugins/qgis2web/maindialog.py", line 57, in
from qgis.PyQt.QtWebKitWidgets import QWebView, QWebInspector, QWebPage
File "/app/share/qgis/python/qgis/utils.py", line 737, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/app/share/qgis/python/qgis/PyQt/QtWebKitWidgets.py", line 24, in
from PyQt5.QtWebKitWidgets import *
File "/app/share/qgis/python/qgis/utils.py", line 737, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'PyQt5.QtWebKitWidgets'
Python version: 3.7.3 (default, Nov 10 2011, 15:00:00) [GCC 8.3.0]
QGIS version: 3.8.3-Zanzibar Zanzibar, 685d8b15
Python Path:
/app/share/qgis/python
/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python
/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python/plugins
/app/share/qgis/python/plugins
/usr/lib/python37.zip
/usr/lib/python3.7
/usr/lib/python3.7/lib-dynload
/usr/lib/python3.7/site-packages
/app/lib/python3.7/site-packages
/app/lib/python3.7/site-packages/numpy-1.14.3-py3.7-linux-x86_64.egg
/app/lib/python3.7/site-packages/MarkupSafe-1.0-py3.7-linux-x86_64.egg
/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python
/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python/plugins/DigitizingTools/tools
/home/USER/.var/app/org.qgis.qgis/data/QGIS/QGIS3/profiles/default/python/plugins/DigitizingTools