python3升级后的报错
AttributeError: module ‘collections‘ has no attribute ‘Mapping‘
将collections替换为collections.abc即可
比如
from collections import Mapping # 替换为 from collections.abc import Mapping import collections # 替换为 import collections.abc as collections