ImportError: cannot import name ‘Mapping’ from ‘collections’ (E:\Python\python3.10.5\lib\collections_init_.py)
今天pycharm莫名其妙就报以上错误
解决办法:在报错的文件里(我这里是E:\Python\python3.10.5\lib\collections\_init_.py)
添加
from collections.abc import Mapping
from collections.abc import MutableMapping
————————————————借鉴 -- 留存————————————————
原文链接:https://blog.csdn.net/NuvoleWalker/article/details/127837115