beduino
Posts: 9
Joined: Tue Apr 16, 2019 11:41 am

Anki not is working

Wed Aug 14, 2019 2:57 am

Hello, this is the error:

Code: Select all

$ sudo anki
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
help me please! :lol:

pcmanbob
Posts: 6450
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Anki not is working

Wed Aug 14, 2019 9:10 am

From the little information supplied

the module named QtWebKit is not installed or its not installed for the version of python that is trying to use it.

not much else that can offered in the way of help on the information supplied.

see the second line in my signature.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

beduino
Posts: 9
Joined: Tue Apr 16, 2019 11:41 am

Re: Anki not is working

Thu Aug 15, 2019 3:17 am

Yes, for me this is a dependency that is not in the repositories. I'm using a raspberry pi 3B+ with raspbian 9. I was wondering if anyone else tried to install this app and was unable to run it. We need more technical support. :D

pcmanbob
Posts: 6450
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Anki not is working

Thu Aug 15, 2019 12:30 pm

OK so you did not take the hint.

So I will spell it out we need more information to be able to help you

for a start what instructions are you following to install Anki on your pi and which OS are you running on your pi
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

User avatar
rpdom
Posts: 14770
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Anki not is working

Thu Aug 15, 2019 2:25 pm

pcmanbob wrote:
Thu Aug 15, 2019 12:30 pm
which OS are you running on your pi
That question was answered, at least
beduino wrote:
Thu Aug 15, 2019 3:17 am
raspberry pi 3B+ with raspbian 9
So Stretch.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5790
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Anki not is working

Thu Aug 15, 2019 2:37 pm

Not sure how up to date my information is or how accurate my memory is, but I seem to recall looking into it and it's just that one of the dependency packages is too much of a hassle to build for the pi, so it wasn't included in Raspbian.

beduino
Posts: 9
Joined: Tue Apr 16, 2019 11:41 am

Re: Anki not is working

Sun Aug 18, 2019 11:40 pm

Thanks my friend for your support, but the solution were to use the AnkiDroid in the smartphone. Probably the Anki have not support on Debian Stretch.

Return to “Python”