Package Details: anki-bin 25.02.5-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 languages learning vocabulary
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: 137
Popularity: 3.87
First Submitted: 2021-10-21 08:27 (UTC)
Last Updated: 2025-05-17 16:27 (UTC)

Latest Comments

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

escape0707 commented on 2025-05-05 02:35 (UTC) (edited on 2025-05-05 02:38 (UTC) by escape0707)

@jlownie ...Why are you running a system package from within a venv to begin with?

I'll try installing python-beautifulsoup4 and see if that helps.

Don't try to "fix" things in an obviously wrong way. It's never supported.

I just tested by running anki-bin from a proper, default configured venv and:

$ mkdir test-anki-bin-venv
$ cd test-anki-bin-venv/
$ python -m venv .venv
$ source .venv/bin/activate
(.venv) $ anki-bin
bash: anki-bin: command not found

I don't know what kind of hack you are trying to do, but it's not the way Arch packages are designed to be run. (And you probably shouldn't report any of your issue to the Arch community with your own hacks, or at least specify that before asking.)

jlownie commented on 2025-05-05 00:31 (UTC)

Thanks. I run anki-bin in a venv, I did a system package upgrade recently which presumably broke the venv I was previously using. I'll try installing python-beautifulsoup4 and see if that helps.

escape0707 commented on 2025-05-03 14:42 (UTC) (edited on 2025-05-04 09:47 (UTC) by escape0707)

@jlownie You must be mixing up your system Python environments with sudo pip or your user space Python packages, or some conda/venv environments.

$ pactree -r python-typing_extensions | head -n3
python-typing_extensions
├─python-beautifulsoup4
│ ├─anki-bin

anki-bin depends on python-beautifulsoup4 which introduces python-typing_extensions.

I've forgot how to troubleshoot these type of problems as I haven't been running into them for a long time. Maybe try to reinstall these mentioned packages and also check if you were in a virtual environment?

jlownie commented on 2025-05-03 01:22 (UTC)

When starting Anki I got the error message ModuleNotFoundError: No module named 'typing_extensions'.

I installed the package python-typing_extensions and then got this error:

Qt fatal: Cannot mix incompatible Qt library (6.8.2) with this library (6.9.0)

I got the same error using the anki AUR package. I installed the official version, that works OK.

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.