awslabs/aws-shell

Installation error with incompatible prompt-toolkit

kaisecheng opened this issue · 1 comments

A fresh install failed with incompatible prompt-toolkit
> pip3 install aws-shell

ERROR: jupyter-console 6.1.0 has requirement prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.18 which is incompatible.
ERROR: ipython 7.16.1 has requirement prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.18 which is incompatible.

Try to install prompt-toolkit >= 2.0.0 < 3.0.0
pip3 install 'prompt-toolkit<3.0.0,>=2.0.0' --force-reinstall

ERROR: aws-shell 0.2.2 has requirement prompt-toolkit<1.1.0,>=1.0.0, but you'll have prompt-toolkit 2.0.10 which is incompatible.

OS: macOS Catalina version 10.15.7
pyenv: 1.2.22
python: 3.8.3
aws-shell-0.2.2

uninstall prompt-toolkit, jupyter-console, ipython and aws-shell and reinstall doesn't help

upgrading pyenv to 1.2.23 and python to 3.9.1 solved the issue