DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3......
将
from collections import namedtuple, Mapping
改为
from collections import namedtuple
from collections.abc import Mapping