Skip to content

macOS + QGIS 3.44.6: ModuleNotFoundError: No module named 'PyQt5.QtWebKit' on plugin load (classFactory) #394

@GiorgiaStoppa

Description

@GiorgiaStoppa

Hi!
I’m having trouble loading DataPlotly on macOS with QGIS 3.44.6.

What happens

When enabling/loading the plugin, QGIS fails with an error during classFactory() and the traceback includes:

ModuleNotFoundError: No module named 'PyQt5.QtWebKit'

It looks like the plugin (or some dependency) is importing QtWebKit (PyQt5.QtWebKit / qgis.PyQt.QtWebKit)

Environment

OS: macOS

QGIS: 3.44.6

Steps to reproduce

Install QGIS 3.44.6 on macOS

Install DataPlotly from the QGIS Plugin Manager

Enable the plugin / restart QGIS

Plugin fails to load with PyQt5.QtWebKit missing

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions