interactive terminal in Ubuntu Linux : libreadline5-dev works only in Python 2.6 not 3.1
casevh
casevh at gmail.com
Sat Jan 9 16:27:07 EST 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 earthlink.net
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-
unicode
make
make altinstall
casevh
More information about the Python-list
mailing list