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环境,重新选择新安装的环境即可解决。

 

posted on 2023-04-22 08:40  peijiao  阅读(525)  评论(0编辑  收藏  举报