DLL load failed while importing QtWebEngineWidgets:
See original GitHub issueHi! I have created an environment in conda, installed thy phy in there, but I still cannot open the template gui. I always get the following error. Uninstalling and reinstalling of the QtWebEngineWidgets doesn’t help. Could you help me to solve the problem? Thanks!
(phy2) C:\Users\dmitry.kobylkov\MATLAB\Projects\KilosortPLX\Outputs-chick46_160622_1.7.pl213-Sep-2022>phy template-gui params.py --debug
Traceback (most recent call last):
File "C:\Users\dmitry.kobylkov\.conda\envs\phy2\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\dmitry.kobylkov\.conda\envs\phy2\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\dmitry.kobylkov\.conda\envs\phy2\Scripts\phy.exe\__main__.py", line 4, in <module>
File "C:\Users\dmitry.kobylkov\.conda\envs\phy2\lib\site-packages\phy\apps\__init__.py", line 22, in <module>
from phy.gui.qt import QtDialogLogger
File "C:\Users\dmitry.kobylkov\.conda\envs\phy2\lib\site-packages\phy\gui\__init__.py", line 6, in <module>
from .qt import (
File "C:\Users\dmitry.kobylkov\.conda\envs\phy2\lib\site-packages\phy\gui\qt.py", line 41, in <module>
from PyQt5.QtWebEngineWidgets import (QWebEngineView, # noqa
ImportError: DLL load failed while importing QtWebEngineWidgets: The specified module could not be found.
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
DLL load failed while importing QtWebEngineWidgets ...
I don't use Spyder, but I ran into this issue and managed to solve it somehow. I had installed PyQtWebEngine like this: pip...
Read more >Solved - Error when importing PyQt5.QtWebEngineWidgets
QtWebEngineWidgets as web ImportError: DLL load failed while importing QtWebEngineWidgets: The specified module could not be found.
Read more >Hippo - ImportError: DLL load failed while importing ... - Higgs
ImportError : DLL load failed while importing QtWebEngineWidgets: when running spyder for python. Detection score: 1. Current body; Last body; Edit summary.
Read more >DLL load failed: The specified procedure could not be ...
When using tensorflow, the ImportError: DLL load failed error, there are many reasons, up from the google.protobuf.pyext import _message error, ...
Read more >ImportError: QtWebEngineWidgets must be imported or Qt. ...
I want to load a simple HTML code in my plugin. But when I want to use QtWebEngineWidgets in Pyqt, Qgis shows the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A colleague had the same problem which we were able to fix:
pip uninstall PyQt5 pip uninstall PyQt5-sip pip uninstall PyQtWebEngine
pip install --upgrade pyqtwebengine==5.12 pip install --upgrade pyqt5==5.12.3
(the specific versions listed above were the lowest ones pypi was offering at the time)
You may need to manually remove the PyQt folders in Lib\site-packages and repeat the above steps but we didn’t need to.
It worked beautifully, thanks hwehry!!!