Recently, PyQt4 Webkit was removed from Debian Testing. Anki users on Debian Testing (Stretch) will have noticed this, because Anki doesn't start, but prints:

Traceback (most recent call last):
  File "/usr/bin/anki", line 7, in <module>
    import aqt
  File "/usr/share/anki/aqt/__init__.py", line 12, in <module>
    from aqt.qt import *
  File "/usr/share/anki/aqt/qt.py", line 22, in <module>
    from PyQt4.QtWebKit import QWebPage, QWebView, QWebSettings
ImportError: No module named QtWebKit

I found a way of working around this by running Anki on Debian Stable (Jessie) inside a Docker container. Have a look at the following (instructions for building and running in the comments):

The Anki window should appear on your screen. This solution should work until Stretch becomes the stable version of Debian.

I hope it's obvious how to adjust that to your circumstances. If not, just send me an email.

AnkiDocker

Nice workaround. I love it! Thank you very much.

Comment by Freddyncalm
Re: AnkiDocker
Thanks! I didn't expect that this workaround would be needed for so long…
Comment by Richard Möhn