visma icon indicating copy to clipboard operation
visma copied to clipboard

Unable to import init on PyQt5 5.15.1

Open namanbansalcodes opened this issue 3 years ago • 1 comments

While running the command from visma.main import init on:

Windows 64-bit Python 3.7.4

I got the following error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\ProgramData\Anaconda3\lib\site-packages\visma\main.py", line 4, in <module> from visma.gui.window import initGUI File "C:\ProgramData\Anaconda3\lib\site-packages\visma\gui\window.py", line 16, in <module> from PyQt5.QtWebEngineWidgets import QWebEngineView ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'

I am using PyQt5 v5.15.1, however, I was able to open the GUI on PyQt v5.10

Opening this issue to extend support to PyQt v5.15.1

namanbansalcodes avatar Nov 17 '20 06:11 namanbansalcodes

first of all do work this project in a virtual environment and speaking about the above issue,i also had the same error and resolved it by installing 'PyQtWebEngine' library using pip,just run the below command in cli ->pip install PyQtWebEngine

Pranoypauljr avatar Jan 27 '22 12:01 Pranoypauljr