CITGuru / PyInquirer

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

prompt_toolkit version for pyinquirer not compatible with ipython #199

Open Manith-2001 opened 11 months ago

Manith-2001 commented 11 months ago

prompt_toolkit version 1.0.14 is compatible with pyinquirer however it breaks the ipython and ipykernel packages as they require version 3.0.39 which causes the following error File "C:\Users\Manith\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pynav-1.0.0-py3.10.egg\pynav\cli_tool.py", line 5, in <module> File "C:\Users\Manith\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyinquirer-1.0.3-py3.10.egg\PyInquirer\__init__.py", line 6, in <module> from prompt_toolkit.token import Token ImportError: cannot import name 'Token' from 'prompt_toolkit.token' (C:\Users\Manith\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\prompt_toolkit\token.py) please release a Pyinquirer version compatible with the current versions of prompt_toolkit cause the only fix for this I know currently is to force install prompt_toolkit version 1.0.14

ehtec commented 7 months ago

I have the same issue, please fix this. @Manith-2001 have you found a fork / fixed it on your own?

samcoveney commented 2 months ago

Exactly the same problem here