Package Details: anki-git r11894.f927aa578-1

Git Clone URL: https://aur.archlinux.org/anki-git.git (read-only, click to copy)
Package Base: anki-git
Description: Helps you remember facts (like words/phrases in a foreign language) efficiently
Upstream URL: https://github.com/ankitects/anki
Keywords: anki memorise memory study
Licenses: AGPL-3.0-or-later
Conflicts: anki, anki-bin, anki-official-binary-bundle, anki20
Provides: anki
Submitter: degeberg
Maintainer: blackthorne
Last Packager: blackthorne
Votes: 25
Popularity: 0.000000
First Submitted: 2017-02-12 11:51 (UTC)
Last Updated: 2025-07-07 06:18 (UTC)

Pinned Comments

blackthorne commented on 2025-05-09 19:48 (UTC)

the PKGBUILD should be compiling now. if not, please let me know. i'll try and clean up the PKGBUILD soon, try and get rid of the AUR dependency, compiler optimization flags, etc.

@hmry thanks for the rust-clang-linking fix.

Latest Comments

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 Next › Last »

DarkShadow44 commented on 2021-08-29 21:21 (UTC) (edited on 2021-08-29 21:22 (UTC) by DarkShadow44)

Yes, it crashes on startup with this log:

  File "/usr/bin/anki", line 16, in <module>
    import aqt
  File "/usr/lib/python3.9/site-packages/aqt/__init__.py", line 18, in <module>
    from anki.collection import Collection
  File "/usr/lib/python3.9/site-packages/anki/collection.py", line 19, in <module>
    from anki._legacy import DeprecatedNamesMixin, deprecated
  File "/usr/lib/python3.9/site-packages/anki/_legacy.py", line 12, in <module>
    import stringcase

That got introduced in commit 0ddd316388 (2021-06-26). It compiles fine btw, just running won't work.

MartinX3 commented on 2021-08-29 20:05 (UTC) (edited on 2021-08-29 20:06 (UTC) by MartinX3)

Please explain why you flag a git aur package as "out of date", since it uses pkgver() to dynamical calculate its version number.

@DarkShadow44 are you sure? I don't find this change in the source code and last time i was able to compile it without this dependency. (Currently I'm in holidays for 2 weeks with 1mbit internet and can't test it without running in a timeout while fetching the dependencies)

DarkShadow44 commented on 2021-08-28 21:40 (UTC)

Since the latest update(s), this depends on python-stringcase.

MartinX3 commented on 2021-08-24 16:00 (UTC) (edited on 2021-08-24 16:26 (UTC) by MartinX3)

Package is probably broken until this gets fixed: https://github.com/ankitects/anki/issues/1338

Ah, fixed by removing the folder ~/.local/lib/python3.9/ Dunno why it was corrupted at my site.

MartinX3 commented on 2021-08-24 16:00 (UTC)

Perfect. I recommend to remove python2 from your system.

matejdro commented on 2021-08-24 06:46 (UTC)

Thanks. The issue for me was that pip was pointing to python 2.7 pip instead of the new one. python2 -m pip uninstall pip and then reinstalling python-pip package fixed the issue.

MartinX3 commented on 2021-08-22 10:09 (UTC)

@matejdro It builds here without this error. I think a python 2.7 package is hiding on your system and wants to survive. :P Or something you installed with pip systemwide.

But I get a different compile issue https://github.com/ankitects/anki/issues/1338

matejdro commented on 2021-08-22 09:36 (UTC) (edited on 2021-08-22 09:46 (UTC) by matejdro)

I'm getting this when I attempt to build. Any ideas?

DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
ERROR: anki-2.1.47-cp38-abi3-manylinux2014_x86_64.whl is not a supported wheel on this platform.

It is weird that there is a warning message about Python 2.7 there because I have Python 3.9.6 installed.

drew33 commented on 2021-05-11 11:22 (UTC)

@MarkWalters.pw - I also get the conflicting dependencies and it turns out you don't need to rm -rf ~/.cache/bazel. Just deleting the older files is enough. In my case (slightly newer conflicts), simply the following:

rm ~/.cache/yay/anki-git/src/anki-git/bazel-bin/pylib/anki/anki-2.1.43-cp38-abi3-manylinux2014_x86_64.whl
rm ~/.cache/yay/anki-git/src/anki-git/bazel-bin/qt/aqt/aqt-2.1.43-py3-none-any.whl

DarkShadow44 commented on 2021-05-02 20:53 (UTC)

I've found a problem where anki doesn't show the menu in it's top bar (the one with Decks/Add/Browse). You can work around that by Tools->Preferences->Video Driver: OpenGL.