Help with python shell
cbmeeks at gmail.com
Wed Jan 16 20:51:46 CET 2008
On Jan 16, 2:35 pm, "Diez B. Roggisch" <de... at nospam.web.de> wrote:
> 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.
I had to install readline-devel and rebuild with --enable-readline
More information about the Python-list