In article <54ec1360$0$12978$c3e8da3$54964...@news.astraweb.com>,
Steven D'Aprano wrote:
> Ned Deily wrote:
> > With no --prefix= on ./configure, the default install location is to
> > /usr/local, so "make install" would install a link at
> > /usr/local/bin/python (or python3) and it would only o
In a message of Tue, 24 Feb 2015 11:18:38 +, David Aldrich writes:
>> >> BUT do *not* run `make install` as that will overwrite your system
>> >> Python and Bad Things will happen. Instead, run `make altinstall`.
>
>Thanks for all the warnings. We did use `make altinstall`, so all is ok.
>
>Rec
> >> BUT do *not* run `make install` as that will overwrite your system
> >> Python and Bad Things will happen. Instead, run `make altinstall`.
Thanks for all the warnings. We did use `make altinstall`, so all is ok.
Recompiling, with readline installed, fixed the arrow keys.
--
https://mail.pyt
Ned Deily wrote:
> In article <54ebdcfa$0$11100$c3e8...@news.astraweb.com>,
> Steven D'Aprano wrote:
>> Almost right!
>>
>> You can install Python from source. Unzip the source tar ball, cd into
>> the source directory, and run:
>>
>> ./configure
>> make
>>
>> BUT do *not* run `make install`
Laura Creighton wrote:
> DO NOT REBUILD PYTHON ON CENTOS!
>
> It can break the whole package management system
> which depends on having a particular version of python installed.
>
> If you are running Centos you need to use virtualenv to be safe.
>
> Laura
Almost right!
You can install Pyth
Thanks for your replies, I will give readline a try.
> PS: and you mention being on CentOS but running apt-get. I believe CentOS
> and other Red-Hat based distros use "yum" instead of "apt-get"
Yes, I think I need to use:
yum install readline-devel
Best regards
David
--
https://mail.python.o
On 2015-02-23 13:44, David Aldrich wrote:
> I want to use the Python 3.4 interpreter interactively, via a PuTTY
> ssh session. Python is running on Centos 5.
>
> Currently, the arrow keys do not work:
[snip]
> sudo apt-get install libreadline-dev
>
> followed by a rebuild of Python
>
> or
>
>
On Tue, Feb 24, 2015 at 12:44 AM, David Aldrich
wrote:
> I want to use the Python 3.4 interpreter interactively, via a PuTTY ssh
> session. Python is running on Centos 5.
>
> This stackoverflow thread:
>
> http://stackoverflow.com/questions/893053/python-shell-arrow-keys-do-not-work-on-remote-mac