You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does a report exist for this bug with the project's home (upstream) and/or another distro?
I made a PR ankitects/anki#2723 (merged) to fix this issue in the main branch.
Additionally, this error can be fixed by applying the following patch to the current version packaged by Void Linux.
The anki command fails because distutils Python module was deprecated in Python 3.10 and it was removed in Python 3.12. It fails with the following error:
$ anki
Traceback (most recent call last):
File "/usr/bin/anki", line 6, in <module>
import aqt
File "/usr/share/anki/aqt/__init__.py", line 4, in <module>
from anki import version as _version
File "/usr/share/anki/anki/__init__.py", line 14, in <module>
from anki.storage import Collection
File "/usr/share/anki/anki/storage.py", line 13, in <module>
from anki.collection import _Collection
File "/usr/share/anki/anki/collection.py", line 26, in <module>
from anki.sound import stripSounds
File "/usr/share/anki/anki/sound.py", line 89, in <module>
from anki.mpv import MPV, MPVBase
File "/usr/share/anki/anki/mpv.py", line 39, in <module>
from distutils.spawn import find_executable # pylint: disable=import-error,no-name-in-module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'distutils'
Steps to reproduce
Execute the command anki in terminal.
The text was updated successfully, but these errors were encountered:
Is this a new report?
Yes
System Info
Void 6.5.6_1 x86_64
Package(s) Affected
anki-2.1.15_6
Does a report exist for this bug with the project's home (upstream) and/or another distro?
I made a PR ankitects/anki#2723 (merged) to fix this issue in the
main
branch.Additionally, this error can be fixed by applying the following patch to the current version packaged by Void Linux.
Expected behaviour
anki
command should open the Anki application.Actual behaviour
The
anki
command fails becausedistutils
Python module was deprecated in Python 3.10 and it was removed in Python 3.12. It fails with the following error:Steps to reproduce
anki
in terminal.The text was updated successfully, but these errors were encountered: