File "/Users/sh/test123/lib/python3.10/site-packages/prompt_toolkit-1.0.14-py3.10.egg/prompt_toolkit/styles/from_dict.py", line 9, in <module>
from collections import Mapping
ImportError: cannot import name 'Mapping' from 'collections' (/usr/local/Cellar/python@3.10/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py)
If we change line 9 in file prompt_toolkit-1.0.14-py3.10.egg/prompt_toolkit/styles/from_dict.py
from: from collections import Mapping
to: from collections.abc import Mapping
All works fine
Python:
Library version 1.0.14
I have an error:
If we change line 9 in file prompt_toolkit-1.0.14-py3.10.egg/prompt_toolkit/styles/from_dict.py from: from collections import Mapping to: from collections.abc import Mapping All works fine