It was released 10 days ago and changes the API. https://github.com/jonathanslenders/python-prompt-toolkit/releases http://python-prompt-toolkit.readthedocs.io/en/stable/pages/upgrading.html