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

prompt_toolkit version for pyinquirer not compatible with ipython #199

Open
Manith-2001 opened this issue Jul 16, 2023 · 2 comments
Open

Comments

@Manith-2001
Copy link

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
Copy link

ehtec commented Dec 2, 2023

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

@samcoveney
Copy link

Exactly the same problem here

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