Seems that `readline` is not available in Windows. There is [pyreadline3](https://github.com/pyreadline3/pyreadline3) that can work as a replacement.