Question #455132 on Yade changed:
https://answers.launchpad.net/yade/+question/455132

WANG Chao posted a new comment:
Hi Klaus,

I met the same problem 
firstly I installed the python-pyqt5.qtwebkit.
But the problem still remains:

1. firstly, i installed the python-pyqt5.qtwebkit

gcf@gcf-OptiPlex-9020:/media/gcf/3TB-FOUR/Yade/install/bin$ sudo apt-get 
install python-pyqt5.qtwebkit
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  python-pyqt5.qtwebkit
0 upgraded, 1 newly installed, 0 to remove and 96 not upgraded.
Need to get 94.9 kB of archives.
After this operation, 531 kB of additional disk space will be used.
Get:1 http://hk.archive.ubuntu.com/ubuntu xenial/universe amd64 
python-pyqt5.qtwebkit amd64 5.5.1+dfsg-3ubuntu4 [94.9 kB]
Fetched 94.9 kB in 0s (1,276 kB/s)             
Selecting previously unselected package python-pyqt5.qtwebkit.
(Reading database ... 382096 files and directories currently installed.)
Preparing to unpack .../python-pyqt5.qtwebkit_5.5.1+dfsg-3ubuntu4_amd64.deb ...
Unpacking python-pyqt5.qtwebkit (5.5.1+dfsg-3ubuntu4) ...
Setting up python-pyqt5.qtwebkit (5.5.1+dfsg-3ubuntu4) ...

2. the problem still remains when i run the file

gcf@gcf-OptiPlex-9020:/media/gcf/3TB-FOUR/Yade/install/bin$ 
./yade-2018-06-10.git-2878c92
Welcome to Yade 2018-06-10.git-2878c92 
TCP python prompt on localhost:9000, auth cookie `dyseks'
XMLRPC info provider on http://localhost:21000
Traceback (most recent call last):
  File "./yade-2018-06-10.git-2878c92", line 297, in <module>
    import yade.qt
  File 
"/media/gcf/3TB-FOUR/Yade/install/lib/x86_64-linux-gnu/yade-2018-06-10.git-2878c92/py/yade/qt/__init__.py",
 line 16, in <module>
    from PyQt5 import QtWebKit, QtWebKitWidgets
ImportError: cannot import name QtWebKit

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to