Help with python shell

Diez B. Roggisch deets at nospam.web.de
Wed Jan 16 14:35:34 EST 2008


cbmeeks schrieb:
> On Jan 16, 1:33 pm, "Diez B. Roggisch" <de... at nospam.web.de> wrote:
>> cbmeeks schrieb:
>>
>>> I just upgraded my Python install up to version 2.5.1 (from 2.4.x)
>>> using source code and compiling.
>>> Everything went fine until I enter the command line mode and press any
>>> arrow keys.
>>> When I press UP arrow, I was getting my previous command as always but
>>> now I get:   ^[[A
>>> What can I do to fix this??
>> Compiling with readline support? I guess that's missing.
>>
>> Diez
> 
> I tried ./configure --enable-readline   but that didn't do the trick.
> ARG!!  This is annoying.

You don't just need to enable it - the readline lib needs to be 
installed, including the possible devel-package (If you are under linux) 
for the headers.

Diez



More information about the Python-list mailing list