xxxxxxxxxx
#for updating pip type the following command in terminal or cmd or powershell
python -m pip install --upgrade pip
xxxxxxxxxx
python -m pip install --upgrade pip
python3 -m pip install --upgrade pip # on mac
xxxxxxxxxx
##find the python installed folder ,then cd that folder
python -m pip install --upgrade pip