ipython上下箭头奇怪的行为 [英] ipython up and down arrow strange behaviour

查看:201
本文介绍了ipython上下箭头奇怪的行为的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的ipython安装中,我遇到了这个奇怪的问题,我无法通过向上和向下箭头可靠地移动命令历史......很多时候它不起作用(按键时没有任何反应)。有时在命令末尾写正常字符也行不通。

In my installation of ipython I have this strange problem where I cannot reliably move through command history with up and down arrows... a lot of the time it just doesn't work (nothing happens on the key press). Also sometimes writing normal characters at the end of the command just doesn't work.

我的系统:Mac OSX Lion

My system: Mac OSX Lion

我已经安装了readline ...

I have readline installed...

谢谢你的帮助!
david

thank you for the help! david

推荐答案

确保在 ipython之前安装了readline

Make sure you installed readline before ipython.

sudo pip uninstall ipython

sudo pip安装readline ipython

(我知道这个问题已有几个月了,但供将来参考)

(I know this question is a few months old, but for future reference)

这篇关于ipython上下箭头奇怪的行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆