qt5 impossible to execute the code because Qt5WebEngineCore.dll
-
Hi,
I just purchased a new laptop Windows 10 64b where I need to transfer my code.
I developed a PyQT5 GUI with Python 3.7
My new laptop is Python 3.9 and when I execute the python script, I get now an error message:
Error message is in french. It says "qt5 impossible to execute the code because Qt5WebEngineCore.dll can't be found..."
So I installed the qt5 framework, mingw-w64, qt5 designer (34 Go). I added path in environment variable.
I searched for solution on Google. I found only some dll download websites. Nothing serious to explain me the issue.
I made a pip freeze for you:
altgraph==0.17 Appium-Python-Client==1.1.0 backcall==0.2.0 cachetools==4.2.1 certifi==2020.12.5 cffi==1.14.5 chardet==4.0.0 colorama==0.4.4 configparser==5.0.2 cookies==2.2.1 crayons==0.4.0 cryptography==3.4.7 decorator==5.0.7 fake-useragent==0.1.11 future==0.18.2 getmac==0.8.2 gevent==21.1.2 google-api-core==1.26.3 google-api-python-client==2.2.0 google-auth==1.29.0 google-auth-httplib2==0.1.0 googleapis-common-protos==1.53.0 greenlet==1.0.0 httplib2==0.19.1 idna==2.10 ipython==7.22.0 ipython-genutils==0.2.0 jedi==0.18.0 mysql-connector-python==8.0.24 Nuitka==0.6.14.4 numpy==1.20.2 packaging==20.9 pandas==1.2.4 parso==0.8.2 pefile==2019.4.18 pickleshare==0.7.5 Pillow==8.2.0 progress==1.5 prompt-toolkit==3.0.18 protobuf==3.15.8 psutil==5.8.0 pyasn1==0.4.8 pyasn1-modules==0.2.8 pycairo==1.20.0 pycparser==2.20 pycryptodome==3.10.1 pycryptodomex==3.10.1 Pygments==2.8.1 pyinstaller==4.3 pyinstaller-hooks-contrib==2021.1 pyparsing==2.4.7 PyQt5==5.15.4 PyQt5-Qt5==5.15.2 PyQt5-sip==12.8.1 PyQtWebEngine==5.15.4 PyQtWebEngine-Qt5==5.15.2 pytesseract==0.3.7 python-dateutil==2.8.1 pytz==2021.1 pywin32==300 pywin32-ctypes==0.2.0 requests==2.25.1 rsa==4.7.2 selenium==3.141.0 six==1.15.0 traitlets==5.0.5 Unidecode==1.2.0 uritemplate==3.0.1 urllib3==1.26.4 wcwidth==0.2.5 webdriver-manager==3.4.0 wget==3.2 zope.event==4.5.0 zope.interface==5.4.0
Here are the folders of necessary software:
Does anyone can help me to run my Python script properly. It runs fine on my old laptop, but not on new ones.
-
@CentreFF said in qt5 impossible to execute the code because Qt5WebEngineCore.dll:
PyQT5
Since you're using PyQt you need to make sure your PyQt installation contains Qt5WebEngineCore. Installing Qt framework has no effect on your PyQt installation.
-
I installed Python 3.9 from WIndows Store.
I uninstalled it.
Download the 3.7 from python.org.
Now it works! :-)Thanks for your help