You are not logged in.
The Anki flash card program (anki 2.0.39-1), designed for spaced repetition learning, refuses to start. It complains with the following error message:
Traceback (most recent call last):
File "/usr/bin/anki", line 5, 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
The problem persist after I installed the package qt5-webkit 5.8.0-1 and updated the system with
pacman -Syu
as instructed in Arch Wiki.
Last edited by catnap (2017-02-19 18:16:36)
Offline
I can't find Anki in the repository any longer. Seems like it was removed due to packaging issues (dependencies and Anki itself). There have been a couple of threads about it lately. Check this one out: https://bbs.archlinux.org/viewtopic.php?id=222945
There's a package in the AUR, but it requires that you also use older versions of some dependencies. Your best bet is to just download the compiled package from the Anki website for now, put it somewhere in /opt (or create a proper PKGBUILD to install the package) and use it until Anki 2.1 comes out and hopefully hits the official repository.
Last edited by justasug (2017-02-19 14:06:29)
Offline
After I downgraded Anki to anki-2.0.38-1 and Qt to python2-pyqt4-4.12-1 the problem resolved.
Offline
I've had a similar issue. I'm trying to downgrade these two packages. I have anki-2.0.38-1 in my /var/cache/pacman/pkg, but I don't have python2-pyqt4-4.12-1. Do you know how I can find an archived version of python2-pyqt4-4.12-1?
Offline