I see the literal 'escape' character + 'k', when it should let me edit previous commands.I did have to compile my own python because I'm using 2.7 on this machine.
I figured it out. I needed to apt install libreadline-dev. -- https://mail.python.org/mailman/listinfo/python-list