ImportError:没有名为’PyQt4.QtWebKit’的模块

我将Ubuntu从16.04升级到16.10,而之前工作的python3代码不再有效,即:

$ python3 Python 3.5.2+ (default, Sep 22 2016, 12:18:14) [GCC 6.2.0 20160927] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from PyQt4.QtWebKit import QWebView Traceback (most recent call last): File "", line 1, in  ImportError: No module named 'PyQt4.QtWebKit' >>> 

安装包python3-pyqt4

为什么会这样,以及需要什么其他软件包才能工作?

看起来在Ubuntu 16.10中删除了PyQt4.QtWebKit包,可能是因为PyQt4和QtWebKit都很长时间没有维护。