Hi Norbert!

On Tue, Oct 08, 2019 at 01:23:44PM +0900, Norbert Preining wrote:
> When I try to import QWebEngineUrlScheme I get an error
>     $ python3
>     >>> from PyQt5.QtWebEngineCore import QtWebEngineUrlScheme
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in <module>
>     ImportError: cannot import name 'QtWebEngineUrlScheme' from 
> 'PyQt5.QtWebEngineCore' 
> (/usr/lib/python3/dist-packages/PyQt5/QtWebEngineCore.cpython-37m-x86_64-linux-gnu.so)
>
> But it seems it should be there since there is also
>     /usr/share/sip/PyQt5/QtWebEngineCore/qwebengineurlscheme.sip

That class is only available since Qt 5.12, however right now we ship
Qt 5.11 in sid. So you need to wait until Qt is updated (see #941093).

Also, in your import command you have an extra ‘t’. It starts with Q,
not with Qt.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to