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.
If this
sudo ln -fs /usr/bin/python3.5 /usr/bin/python
doesn't work (it should)
you could just add an alias into your /home/.bashrcwith this command:
/home/.bashrc
alias python="/usr/bin/python3.5"
and if this does not work either you should just use virtual env. Read this page to get started.