Issue importing latest PyQt6-WebEngine

Detlev Offenbach detlev at die-offenbachs.de
Sat Dec 21 16:24:40 GMT 2024


Hi again,

now I know what happened. As that might happen to others as well, I will
give a summary of the steps.

 1. Upgraded the virtual environment fro PyQt 6.7 to 6.8.
 2. Realized, that'PyQt6-WebEngineSubwheel-Qt' is no longer needed
 3. Uninstalled that package.
 4. Observed the issue described. The cause was that uninstalling the
    subwheel deleted part of the update done previously.
 5. Reinstalled the 'PyQt6-WebEngine-Qt6' package, which corrected the
    issue.

Regards,
Detlev
Am 21.12.24 um 16:58 schrieb Detlev Offenbach:
>
> Hi,
>
> sorry for the noise. Somehow the latest update of the Python virtual
> environment had failed without giving an error. After reinstalling
> PyQt6-WebEngine-Qt6 everything is working again.
>
> Regards,
> Detlev
>
> Am 21.12.24 um 16:44 schrieb Detlev Offenbach:
>>
>> Hi Phil,
>>
>> I am having issues importing PyQt6.QtWebEngineWidgets in Fedora 41.
>> Here is the Python shell output.
>>
>> ------------------------------
>>
>> Python 3.13.0 (main, Oct  8 2024, 00:00:00) [GCC 14.2.1 20240912 (Red
>> Hat 14.2.1-3)] on fedora-vm
>> [eric7 Environment]
>> >>> from PyQt6 import QtWebEngineWidgets
>> fedora-vm/3351/main: Traceback (innermost last):
>>   File "<stdin>", line 1, in <module>
>> ImportError: /lib64/libQt6WebEngineCore.so.6: version
>> `Qt_6_PRIVATE_API' not found (required by <path to
>> eric7_env>/lib64/python3.13/site-packages/PyQt6/Qt6/lib/libQt6WebEngineWidgets.so.6)
>>
>> -------------------------------
>>
>> Regards,
>> Detlev
>>
>> --
>> Detlev Offenbach
>> detlev at die-offenbachs.de
> --
> Detlev Offenbach
> detlev at die-offenbachs.de

--
Detlev Offenbach
detlev at die-offenbachs.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20241221/ba192df3/attachment.htm>


More information about the PyQt mailing list