Problem with keyboard up/down arrows in Python 2.4 interpreter

Julien jphalip at gmail.com
Fri Mar 25 02:25:06 EDT 2011


On Mar 22, 5:37 pm, Benjamin Kaplan <benjamin.kap... at case.edu> wrote:
> On Tue, Mar 22, 2011 at 2:27 AM, Julien <jpha... at gmail.com> wrote:
> > Hi,
>
> > I'm having problems when typing the up/down arrows in the Python 2.4
> > interpreter (exact version: Python 2.4.6 (#1, Mar  3 2011, 15:45:53)
> > [GCC 4.2.1 (Apple Inc. build 5664)] on darwin).
>
> > When I press the up arrow it outputs "^[[A" and when I press the down
> > arrow it outputs "^[[B".
>
> > I've google it and it looks like it might be an issue with the
> > readline not being installed or configured properly. Is that correct?
> > If so, how can I fix this issue?
>
> > Many thanks.
>
> > Kind regards,
>
> > Julien
> > --
>
> How did you install Python? If you used Macports, it looks like
> readline support is a separate port for 2.4. Try installing
> py-readline.
>
>
>
>
>
>
>
> >http://mail.python.org/mailman/listinfo/python-list

Hi,

Which readline package should I install? I've tried with 'pip install
py-readline' but that package doesn't seem to exist. I've tried with
'pyreadline' (without the dash) but that didn't fix the issue.

Many thanks,

Julien



More information about the Python-list mailing list