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

Greetings,

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/init.py”, line 47, in
from aqt import gui_hooks
File “/usr/lib64/python3.9/site-packages/aqt/gui_hooks.py”, 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.

Thank you for advice, I’ve notified maintainer on this issue and he also gets same error, with no solution available for now.

I’ve just downgraded my local installation to 2.1.54, with newer version also available as compiled binary which I can launch without installation, if need be.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.