ImportError: cannot import name 'Mapping' from 'collections'


python 
  File "/usr/local/lib/python3.10/site-packages/bleach/_vendor/html5lib/_trie/_base.py", line 3, in 
    from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/lib64/python3.10/collections/__init__.py)
Ответы
    RemiZOffAlex  Создано: 2021-12-12 00:31:09.463376  Обновлено: 2021-12-12 00:31:09.463393
try:
    from collections.abc import Mapping
except ImportError:
    from collections import Mapping

Возможно старая версия


Возможно будут интересны и другие вопросы
© RemiZOffAlex