interactive terminal in Ubuntu Linux : libreadline5-dev works only in Python 2.6 not 3.1

casevh casevh at
Sat Jan 9 22:27:07 CET 2010

On Jan 9, 10:06 am, Dave WB3DWE wrote:
> On Jan 6 I inquired how to "fix" the 3.1.1 interactive terminal
> in Ubuntu Linux.   Left arrow yields ^[[D , etc.
> casevh helped by suggesting "libreadline5-dev" be installed.
> Did so with Synaptic Package Manager.
> The behavior of the Python 3.3.1 terminal is unchanged but
> the 2.6.2 terminal is corrected.
> Is there any way to fix the 3.1.1 terminal command line ?
> Thanks,     Dave WB3DWE      pdlem... at

Did you recompile Python 3.1.1 after installing libreadline5-dev?

(From the Python 3.1.1 directory. Your options to configure may vary.)

make distclean
./configure --prefix=/usr/local --with-computed-gotos --with-wide-
make altinstall


More information about the Python-list mailing list