0

I got this error:

Traceback (most recent call last):
File "c:\pythoncodes\DGA\Article1\from PyQt6.py", line 1, in <module>
from PyQt6.QtWebEngineWidgets import QWebEngineView
ImportError: DLL load failed while importing QtWebEngineWidgets: The specified procedure could

when running this code:

from PyQt6.QtWebEngineWidgets import QWebEngineView

How can I solve this?

I should use PyQt6 in this code.

Robert
  • 7,394
  • 40
  • 45
  • 64
  • Please provide more details: are you getting that error when using an IDE (if so, which one?) or when running it normally? How did you install PyQt6? How did you install (if you did install it) PyQt-WebEngine? – musicamante Jul 21 '23 at 16:24
  • The stack trace was cut off. Provide the environment variables, especially the ```PATH```. I suspect you have another QT installation other than the one embedded the PyQt6 package. – relent95 Jul 24 '23 at 02:37

0 Answers0