Details
Description
when running :
from PySide2.QtWebEngineWidgets import *
I get the following error:
"Could not find QtWebEngineProcess.exe"
I'm using the CI's wheel : "PySide2-5.9.0a1-5.9.5-cp36-cp36m-win_amd64.whl" from 03/09/2018
"QtWebEngineProcess.exe" does exists in the following location but isn't detected for some reason:
C:\Python36\Lib\site-packages\PySide2\QtWebEngineProcess.exe
I moved "QtWebEngineProcess.exe" to Python's root folder:
C:\Python36\QtWebEngineProcess.exe
This fixes my import however my "QWebEngineView" displays a "blank" / white page instead of my html.
I installed the wheel using "pip install PySide2-5.9.0a1-5.9.5-cp36-cp36m-win_amd64.whl" on a Windows 10 machine.
I didn't have the issue with my custom compiled version of PySide2 from a few months back.
Is this a deployment problem ?
Thanks.
UPDATE:
Copying the following files to C:\Python36 (python's root folder) seems to be a workaround
C:\Python36\qtwebengine_devtools_resources.pak
C:\Python36\qtwebengine_resources.pak
C:\Python36\qtwebengine_resources_100p.pak
C:\Python36\qtwebengine_resources_200p.pak
C:\Python36\QtWebEngineProcess.exe
Attachments
Issue Links
- is required for
-
PYSIDE-633 PySide2 WebEngine issues
- Closed
- relates to
-
PYSIDE-1937 Can't found QtWebEngineProcess.exe and other files at Windows system with Chinese user name
- Closed