Summary: | sci-geosciences/qgis: ModuleNotFoundError: No module named 'PyQt5.QtWebKit' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
Component: | Current packages | Assignee: | Sci-geo Project <sci-geosciences> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | asturm, ionen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Mokrejš
2022-07-13 10:32:58 UTC
PyQt5 can not support packages that are not in tree. QGIS plugins must port away from webkit. Also PyQt5 package does not have webkit/webengine modules at all either way, you need PyQtWebkit (like dev-python/PyQtWebEngine) # emerge -s PyQtWebEngine [ Results for search key : PyQtWebEngine ] Searching... * dev-python/PyQtWebEngine Latest version available: 5.15.5 Latest version installed: 5.15.5 Size of files: 48 KiB Homepage: https://www.riverbankcomputing.com/software/pyqtwebengine/ https://pypi.org/project/PyQtWebEngine/ Description: Python bindings for QtWebEngine License: GPL-3 * dev-qt/qtwebengine Latest version available: 5.15.5_p20220618 Latest version installed: 5.15.5_p20220618 Size of files: 312,666 KiB Homepage: https://www.qt.io/ Description: Library for rendering dynamic web content in Qt5 C++ and QML applications License: || ( GPL-2 GPL-3 LGPL-3 ) FDL-1.3 # OK, I will reinstal them both (although I think I already did a number of times since the errors started to occur). # emerge -pv dev-python/PyQtWebEngine dev-qt/qtwebengine These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-qt/qtwebengine-5.15.5_p20220618:5/5.15::gentoo USE="alsa geolocation jumbo-build system-ffmpeg system-icu widgets -bindist -debug -designer -kerberos -pulseaudio -screencast -test" 0 KiB [ebuild R ] dev-python/PyQtWebEngine-5.15.5::gentoo USE="-debug" PYTHON_TARGETS="python3_8 python3_9 -python3_10 -python3_11" 0 KiB Thanks for your inputs. Webengine is what /should/ be used, but PyQtWebEngine does not give qtwebkit modules (aka upstreams should migrate to webengine or something else and not use qtwebkit anymore) As I mentioned, you'd need PyQtWebKit for that and it's not packaged nor supported in ::gentoo, qtwebkit is insecure and dead upstream (your qtwebkit is coming from an overlay). |