[osgeo4w-dev] [osgeo4w] #866: QtWebKit ModuleNotFoundError: No module named 'PyQt5.QtWebKit'
OSGeo4W
trac_osgeo4w at osgeo.org
Sat Jan 25 09:29:54 PST 2025
#866: QtWebKit ModuleNotFoundError: No module named 'PyQt5.QtWebKit'
------------------------+---------------------------
Reporter: andreaerdna | Owner: osgeo4w-dev@…
Type: defect | Status: new
Priority: critical | Component: Package
Version: | Keywords:
------------------------+---------------------------
Using QGIS 3.40.3 and QGIS 3.34.15
{{{
from qgis.PyQt.QtWebKit import QWebSettings
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\OS5C2A~1/apps/qgis/./python\qgis\utils.py", line 1100, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\OS5C2A~1/apps/qgis/./python\qgis\PyQt\QtWebKit.py", line 24, in
<module>
from PyQt5.QtWebKit import *
File "C:\OS5C2A~1/apps/qgis/./python\qgis\utils.py", line 1100, in
_import
mod = _builtin_import(name, globals, locals, fromlist, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'PyQt5.QtWebKit'
}}}
I guess this will break a lot of plugins using QtWebKit.
--
Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/866>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.
More information about the osgeo4w-dev
mailing list