CITGuru / PyInquirer

A Python module for common interactive command line user interfaces
MIT License
1.91k stars 235 forks source link

Update requirements.txt to support collections.abc #202

Open thunermay opened 4 months ago

thunermay commented 4 months ago

Need for Python > 3.6

After that the from_dict.py is gone. When using version 3.0.43 (newest) I get the error:

from PyInquirer import prompt
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/PyInquirer/__init__.py", line 6, in <module>
    from prompt_toolkit.token import Token
ImportError: cannot import name 'Token' from 'prompt_toolkit.token' (/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/prompt_toolkit/token.py)