RuntimeError: PyQt6.QtWebEngineWidgets cannot import type '...' from PyQt6.QtCore

Florian Bruhin me at the-compiler.org
Fri Nov 26 19:30:27 GMT 2021


Hey,

when trying to run a PyInstaller built qutebrowser executable, after
switching from PyQt5 to 6, I get this on both macOS and Windows, when
the application does "import PyQt6.QtWebEngineWidgets":

RuntimeError: PyQt6.QtWebEngineWidgets cannot import type '\ufffda\ufffd:\ufffd�' from PyQt6.QtCore

Here's the full log:
https://github.com/qutebrowser/qutebrowser/runs/4336651577?check_suite_focus=true#step:8:394

Outside of PyInstaller, things *seem* to be fine. I didn't find much
about it. Anyone has an idea what could be going on there?

Florian

-- 
            me at the-compiler.org | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20211126/0da21a22/attachment.sig>


More information about the PyQt mailing list