sudo yum install python36
python3 --version
Python 3.6.8
pip3 --version
pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6)
--Probably installed by default
sudo alternatives --config python
There are two programs that provide'python'.
Select command
-----------------------------------------------
*+ 1 /usr/libexec/no-python
2 /usr/bin/python3
Press Enter to keep the current selection [+] or enter the selection number: 2
python --version
--Can be called with python command
Recommended Posts