I run Arch linux and am using Anki 2.1.54, and decided to install Ki command line tool for converting Anki collections into git repos.
After doing a full system update, installing Ki and restarting my computer, anki has stopped working and replied with the following error:
File "/usr/bin/anki", line 17, in <module> import aqt File "/usr/lib/python3.10/site-packages/aqt/__init__.py", line 74, in <module> from aqt.main import AnkiQt # isort:skip File "/usr/lib/python3.10/site-packages/aqt/main.py", line 21, in <module> import aqt.mediasrv File "/usr/lib/python3.10/site-packages/aqt/mediasrv.py", line 25, in <module> import aqt.operations File "/usr/lib/python3.10/site-packages/aqt/operations/__init__.py", line 12, in <module> from anki.collection import ( ImportError: cannot import name 'ImportLogWithChanges' from 'anki.collection' (/home/yaoretian/.local/lib/python3.10/site-packages/anki/collection.py)
I have tried fixing the problem by restarting my computer again, reinstalling anki and uninstalling Ki but none of these have worked.
I could not find a similar topic when searching it up either. Does anyone know how to fix this?