Pyqt5 Error Installing Pyqtwebengine

Asked

Viewed 129 times

0

Hello, I was trying to create a browser with python and when I installed Pyqtwebengine, my Pyqt5 stopped picking and no longer works, it shows a compatibility error but can not solve, I tried to touch the Path but without success.

installation log :

λ pip3 install PyQtWebEngine
Collecting PyQtWebEngine
  Using cached PyQtWebEngine-5.14.0-5.14.1-cp35.cp36.cp37.cp38-none-win32.whl (47.9 MB)
Collecting PyQt5>=5.14
  Using cached PyQt5-5.14.1-5.14.1-cp35.cp36.cp37.cp38-none-win32.whl (45.1 MB)
Requirement already satisfied: PyQt5-sip<13,>=12.7 in c:\users\sheep\appdata\local\program
s\python\python38-32\lib\site-packages (from PyQtWebEngine) (12.7.1)

ERROR: pyqt5-tools 5.13.2.1.6rc1 has requirement pyqt5==5.13.2, but you'll have pyqt5 5.14
.1 which is incompatible.

Installing collected packages: PyQt5, PyQtWebEngine
  Attempting uninstall: PyQt5
    Found existing installation: PyQt5 5.13.2
    Uninstalling PyQt5-5.13.2:
      Successfully uninstalled PyQt5-5.13.2
Successfully installed PyQt5-5.14.1 PyQtWebEngine-5.14.0

error while trying to run a file with Pyqt5:

Traceback (most recent call last):
  File "main.pyw", line 5, in <module>
    from PyQt5.QtCore import *
ImportError: DLL load failed while importing QtCore: %1 não é um aplicativo Win32 válido.

What better way to solve this ?

1 answer

0


Solved using the command as follows: pip3 install PyQtWebEngine==5.13.2

Browser other questions tagged

You are not signed in. Login or sign up in order to post.