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...
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...