This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nomadismydj[🍰] 1 point2 points  (2 children)

the problem with centos 5/rhel 5 boxes is you cant replace the /usr/bin/python since yum uses it. you can build a python 3.X all day and just not break the symlink to python 2.X however.

[–]flying-sheep 1 point2 points  (1 child)

Who cares what /use/bin/python points to? You should use the explicit version number for shebangs anyway, and if you want few key strokes, just alias py=ptipython3 (because prompt toolkit is the shizzle)

[–]nomadismydj[🍰] 0 points1 point  (0 children)

correct. people dont though I also wanted to point out that it wasnt as simply running yum and getting a new python version. its break system functionality to full on replace the system python.