Package Details: anki-bin 25.02-1

Git Clone URL: https://aur.archlinux.org/anki-bin.git (read-only, click to copy)
Package Base: anki-bin
Description: Helps you remember facts (like words/phrases in a foreign language) efficiently. Installed with wheel.
Upstream URL: https://apps.ankiweb.net/
Keywords: anki anki-bin
Licenses: MIT, Apache-2.0, BSD-3-Clause, CC-BY-4.0, 0BSD, GPL-3.0-or-later, AGPL-3.0-or-later
Conflicts: anki
Provides: anki
Submitter: Grafcube
Maintainer: escape0707 (Flammkuchen)
Last Packager: Flammkuchen
Votes: 130
Popularity: 7.71
First Submitted: 2021-10-21 08:27 (UTC)
Last Updated: 2025-02-13 01:33 (UTC)

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

escape0707 commented on 2025-02-20 05:26 (UTC)

Hi, @simgunz @leuko

As I've replied in the GitHub issue, I believe it's more convenient to follow the plugin author's advice to install Anki with the official method and let Anki use the included Python 3.9.

simgunz commented on 2025-02-11 10:19 (UTC)

I confirm the startup error with HyperTTS

leuko commented on 2025-01-04 12:58 (UTC)

I use HyperTTS add-on and get the error in this issue.

Can someone confirm this?

As far I understand, anki uses Python 3.9. The add-on seems to have access to the system-wide Python.

gravix commented on 2025-01-03 11:23 (UTC) (edited on 2025-01-08 08:17 (UTC) by gravix)

@escape0707 Thanks for your quick response! Indeed, the suggested option fixed the error:

$ paru --rebuild anki-bin

escape0707 commented on 2025-01-03 11:00 (UTC) (edited on 2025-01-03 11:03 (UTC) by escape0707)

@gravix This will reinstall with the old package you've built for python 3.12. Please search for --rebuild option in paru's man page.

gravix commented on 2025-01-03 08:34 (UTC) (edited on 2025-01-08 08:17 (UTC) by gravix)

Getting following error:

$ anki 
Traceback (most recent call last):
  File "/usr/bin/anki", line 5, in <module>
    from aqt import run
ModuleNotFoundError: No module named 'aqt'

Tried to re-install:

$ paru -Rns anki-bin
$ paru
$ paru anki-bin

Still getting the same error.

rossvor commented on 2024-12-16 10:54 (UTC)

I think python-pip-system-certs needs to be added to dependencies -- it fails to launch without it. Error is: "Python module pip_system_certs is not installed. System certificate store and custom SSL certificates may not work. See: https://github.com/ankitects/anki/issues/3016"

escape0707 commented on 2024-12-04 09:02 (UTC)

@derivativeoflog7 Then it's a distro specific problem. I'm sorry that I'm being quite occupied recently and can't help you (I'm using Gnome and it would be a problem, too.). i suggest you look up Qt's runtime debug flag environment variable and use them to check the debug log during your Ctrl+Enter.

derivativeoflog7 commented on 2024-12-03 22:02 (UTC) (edited on 2024-12-04 08:59 (UTC) by derivativeoflog7)

@escape0707 Using PyPi's PyQt6 package (on 6.7.3) instead of the system-wide package from the Arch repos (on 6.8.0-dev builds) seems to fix the issue; so it seems that the issue could be fixed by having the venv not inherit system-wide packages and installing PyQt6 and all the rest from PyPi (installing PyQt6-WebEngine seems to pull all the needed dependencies). https://forums.ankiweb.net/t/ctrl-enter-doesnt-work-on-kde-plasma-if-anki-is-ran-through-pip-aqt/52206/4

derivativeoflog7 commented on 2024-11-21 17:56 (UTC)

@kageyama what I discovered is that the official Anki builds from GitHub and these AUR packages install Anki in a fundamentally different way: if I understand correcly the official builds copy a binary to PATH, while these two packages create a python venv and install Anki as a python module (aqt); and evidently, based on the issue you're encountering and the different one I'm encountering, these two aren't exactly equivalent