6

I upgraded Ubuntu from 16.04 to 16.10, and python3 code that was previously working, does not work anymore, i.e.:

$ 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 "<stdin>", line 1, in <module>
ImportError: No module named 'PyQt4.QtWebKit'
>>> 

Package python3-pyqt4 is installed.

Why is this, and what other packages are needed for this to work?

vedar
  • 61

1 Answers1

3

It looks like the PyQt4.QtWebKit package got removed in Ubuntu 16.10, probably because both PyQt4 and QtWebKit are long unmaintained.