Anki (2.1.56) on Slackware 15 after python3-jsonschema upgrade


After I upgraded python3-jsonschema to 4.7.3 version, Anki stopped working and displays following message attached below. I then recompiled and reinstalled Anki, but still get the error:

orjson is missing; DB operations will be slower
Traceback (most recent call last):
File “/usr/bin/anki”, line 5, in
from aqt import run
File “/usr/lib64/python3.9/site-packages/aqt/”, line 47, in
from aqt import gui_hooks
File “/usr/lib64/python3.9/site-packages/aqt/”, line 11, in
from _aqt.hooks import *
ModuleNotFoundError: No module named ‘_aqt’

How to fix this error?

If you’re using a distro package, please contact them for support. If you installed from pip, maybe an uninstall and reinstall will help.