mcanonic
21st June 2019, 11:44
Hi,
I'm trying to load a html file inside a windows but I'm not able to import 'QtWebEngineWidgets' .
I'm using Fedora 29 and I've installed by pip the PQt5 version 5.11.3.
I'm not sure what should I do. Someone suggest to downgrade the PyQt5 version, but I'm sure there should be a smart and more efficient way.
Any suggestion?
The code is really simple:
web = QWebEngineView()
web.load(QUrl("file:///tmp/diff2HtmlCompare-master/index.html"))
web.show()
Thanks,
M
I'm trying to load a html file inside a windows but I'm not able to import 'QtWebEngineWidgets' .
I'm using Fedora 29 and I've installed by pip the PQt5 version 5.11.3.
I'm not sure what should I do. Someone suggest to downgrade the PyQt5 version, but I'm sure there should be a smart and more efficient way.
Any suggestion?
The code is really simple:
web = QWebEngineView()
web.load(QUrl("file:///tmp/diff2HtmlCompare-master/index.html"))
web.show()
Thanks,
M