Closed techvio-dev closed 2 years ago
I had the same problem. I can see from the info you gave that you are using Anki 2.1.49 (dc80804a) Python 3.10.1. It is a problem that comes up when you upgrade to python 3.10.
To fix :
Open this file :
/home/techvio/.local/share/Anki2/addons21/review_heatmap/libaddon/gui/basic/interface.py
Change the line :
from collections import MutableSequence, MutableSet, MutableMapping
to this line :
from collections.abc import MutableSequence, MutableSet, MutableMapping
Save file , and restart anki.
Basically you need to change collections to collections.abc because as python 3.9 warns us :
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
Hey guys,
Thanks for the report! This should be fixed with v1.0.0 which I just released on AnkiWeb: https://ankiweb.net/shared/info/1771074083 (no need for a manual installation any more, you can just copy the add-on code into Anki as with other add-ons.)
If you run into any issues please do let me know!
Problem description
Please describe the issue concisely in here. In case of an error: Walk us through the steps you took to get there. What happened? What did you expect to happen?
Checklist
Please replace the space inside the brackets with an x if the following items apply:
Information about your Anki set-up
Please open Anki, go to Help → About, click on "Copy Debug Info", and paste the result between the backticks below (if the button does not appear you are using an older version of Anki 2.1 and will need to update first):
Error message (if any)
If you've received an error message, please copy and paste it between the backticks below: