Jacinle
Jacinle copied to clipboard
Support python 3.10
Hi, I'm trying to run Jacinle in python 3.10, but it can't work.
What happen
When running in python 3.10, report
AttributeError: module 'collections' has no attribute 'Sequence'
Why happen
collections.[Sequence|Mapping|Set] moved into collections.abc, according to python docs
How I fix this
Just replace all collections.[Sequence|Mapping|Set] with collections.abc.[Sequence|Mapping|Set]
Python version
This should work since python>=3.3, according to python docs but this not supported in python 2.7