Everything seems to work out:
Or install pyqt
version 5.10, which still comes with a web engine,
either install a newer version (I use 5.12) and install PyQtWebEngine
separately.
pip3 install PyQtWebEngine
Now this import works:
from PyQt5.QtWebEngineWidgets import QWebEnginePage
from PyQt5.QtWebEngineWidgets import QWebEngineView
I can’t tell you why, I didn’t find any explanation, just a hint here: PyQt 5.11, missing WebEngine modules