ImportError: cannot import name QtWebkit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yade |
New
|
Undecided
|
Unassigned |
Bug Description
Dear Developer,
I have installed the newest YADE trunk on Ubuntu 16.04 and finished the compilation with the option DUSE_QT5=ON. But when i run the executable file, the following error jumps out:
gcf@gcf-
Welcome to Yade 2018-06-
TCP python prompt on localhost:9000, auth cookie `csduse'
XMLRPC info provider on http://
Traceback (most recent call last):
File "./yade-
import yade.qt
File "/media/
from PyQt5 import QtWebKit, QtWebKitWidgets
ImportError: cannot import name QtWebKit
I opened the python and tried to import the QtWebKit, but it seems that there is no QtWebKit in the PyQt5.
gcf@gcf-
Python 2.7.15 |Anaconda, Inc.| (default, May 1 2018, 23:32:55)
[GCC 7.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt5 import QtWebkit
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name QtWebkit
>>> import PyQt5
>>>
Please see [1] for similar problem and solution by Klaus: /answers. launchpad. net/yade/ +question/ 446239
https:/