aerospaceresearch / visma

VISual MAth - an equation solver and visualizer
GNU General Public License v3.0
99 stars 80 forks source link

Unable to import init on PyQt5 5.15.1 #248

Open namanbansalcodes opened 3 years ago

namanbansalcodes commented 3 years ago

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

Pranoypauljr commented 2 years ago

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