Arrow keys no longer work in Python shell after upgrading Mac OS to Sierra

后端 未结 7 970
甜味超标
甜味超标 2020-12-29 21:42

I\'m using zsh, iTerm2 (3.0.9), and pyenv (1.0.2) with pyenv global set to 3.5.2.

In the Python shell, the up and down arrow keys used to work, to access the previou

7条回答
  •  礼貌的吻别
    2020-12-29 22:21

    I'm seeing the same thing and the only "fix" I was able to come up with was to not run the pyenv init - command in my .zshrc file. That however will inhibit the functioning of virtual environments.. and so it's not a fix but a workaround to get the python shell history to work again.

    I'm continuing to look and see if there is a permanent fix as I'm not nearly as productive without it.

提交回复
热议问题