Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2023 #432

Open
syedzubyl opened this issue Aug 4, 2023 · 2 comments
Open

2023 #432

syedzubyl opened this issue Aug 4, 2023 · 2 comments

Comments

@syedzubyl
Copy link

syedzubyl commented Aug 4, 2023

No description provided.

@kiddersmxj
Copy link

Change line 9 in /home/zubyl/Desktop/whatsapp-play/.venv_new/lib/python3.11/site-packages/prompt_toolkit/styles/from_dict.py to

try:
    import collections from Mapping
except ImportError:
    import collections.abc from Mapping

@StefanBeh
Copy link

StefanBeh commented Nov 12, 2023

@kiddersmxj Theres a mistake in your code snippet.

try:
    from collections import Mapping
except ImportError:
    from collections.abc import Mapping

This works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants