from collections import namedtuple, MappingImportError: cannot import name 'Mapping' from 'collections' (D:\python38\Lib\collections --init__.py)
from collections import namedtuple, MappingImportError: cannot import name 'Mapping' from 'collections' (D:\python38\Lib\collections --init__.py)
出现以上错误:底层报错了,重新安装python环境,重新选择新安装的环境即可解决。