Home>

I installed Python 3.8.2 on CentOS7 and ran the confirmation command.

$python --version
Python 2.7.5


When you execute the "python 3.8 --version" command, Python 3.8.2 will be displayed.
It should have been installed ... Run the "python --version" command
I would like to know how Python 3.8.2 displays. Thank you.

* I want to do it without using pyenv.

  • Answer # 1

    / bin/pythonIs/ bin/python2This is a symbolic link to/ bin/python3You can change it to a link to, but I think some system tools will stop working.

    Practicallyalias python = python3;alias pip = pip3I suppose. I do that.