How to set Python3.5.2 as default Python version on CentOS?
问题 Is there a way to set the Python 3.5.2 as the default Python version on CentOS 7? currently, I have Python 2.7 installed as default and Python 3.5.2 installed separately. I used the following commands mv /usr/bin/python /usr/bin/python-old sudo ln -fs /usr/bin/python3 /usr/bin/python but after that yum gives the error. -bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory is there something I'm missing here? NOTE: its the similar but opposite question of Linux