How to Install Python 3.7.4 and PiP on CentOS 8 - Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

Monday, September 30, 2019

How to Install Python 3.7.4 and PiP on CentOS 8

To Check Python Version or If Pervious Install
Step1 :- python3 --version
                or
         python3.7 --version




To Set Default Python
Step2 :- sudo alternatives --config python
You need to select '2' option i.e., type '2' hit enter

To Check Without typing Version of python
Step3 :-  python --version




Now PiP
To Check PiP Version
Step4 :- pip3 --version 
            or
         pip3.7 --version

To Set Default pip
Step5 :- alias pip=pip3

To Check Without typing Version of python
Step6 :-  pip --version










That's it...