problem with Python PyQt5.QtWebEngine

Семен Добров semadob77 at
Tue Aug 10 01:13:53 BST 2021

Hello. When executing this code:

from PyQt5.QtCore import *
from PyQt5.QtWidgets import *
from PyQt5.QtWebEngineWidgets import *
import sys
class MainWindow(QMainWindow):
    def __init__(self, url):
        super(MainWindow, self).__init__()
        self.browser = QWebEngineView()
        self.resize(683, 1000)
        self.move(683, 0)

app = QApplication(sys.argv)
window = MainWindow('')

returns an error:
QWindowsEGLStaticContext::create: Could not initialize EGL display: error
QWindowsEGLStaticContext::create: When using ANGLE, check if
d3dcompiler_4x.dll is available
Could not find QtWebEngineProcess.exe

I think that the error is due to the configuration of
or rather interaction with QtWebEngineProcess.exe
but I don't understand how to fix it, please help.

When transferring a file QtWebEngineProcess.exe in the Python root, the
program starts to see QtWebEngineProcess.exe but at the same time, there
are even more errors.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the PyQt mailing list