Open markfansjsu006 opened 1 year ago
Since python 3.10 Mapping is moved to collections.abc, quick fix would be to change:
from collections import Mapping, defaultdict
to
from collections import defaultdict
try:
from collections.abc import Mapping
except ImportError:
from collections import Mapping
However, I don't know if there maybe is some better way to handle this.
I am using python 3.10 and I am having trouble training data when testing the installation.