getting up arrow in terminal to scroll thought history of python commands

Irmen de Jong irmen-NOSPAM- at xs4all.nl
Sun Jun 13 20:24:28 EDT 2010


On 14-6-2010 1:19, Vincent Davis wrote:
> I just installed 2.6 and 3.1 from current maintenance source on Mac
> OSx. When I am running as an interactive terminal session the up arrow
> does not scroll thought the history of the py commands I have entered
> I just get ^[[A. When I install from a compiled source it works fine.
> Whats the fix for this?
>
> Thanks
> Vincent

I'm guessing you don't have the readline module.

Compile and install GNU Readline, then type 'make' again in your Python 
source tree. It should now no longer report a missing 'readline' module.

-irmen



More information about the Python-list mailing list