after upgrading to Ubuntu 16.10 from 16.04, Anki program does not run. this is the error message:
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
Best Answer
Simple solution (pre-compiled build)
The latest Anki releases are now available as compiled static builds which ship with all dependencies included. They should work right out of the box on most Linux distros.
Advanced solution (using source code tarball)
In some instances it might be necessary to run Anki from source, e.g. when developing an add-on or playing around with Anki's code. In those cases the following should work:
runanki
script should reside next to each other.Edit
runanki
in Anki's source folder and changeto
cd
to Anki's source code folder and run./runanki
. Anki should now launch.