I have installed python 2.7.5 on CentOS 6.4 which python 2.6 already installed.
Python2.7 is under /usr/local/bin and library configuration is correct as well.
I set alias in .bash_profile as
alias python='/usr/local/bin/python2.7'
PATH=$PATH:/usr/local/bin
However, I need to do source .bash_profile
each time I logged in and it's pretty annoying.
How can I change my default python version to python2.7.5?
Thanks