xxxxxxxxxx
python -m pip install --upgrade pip
python3 -m pip install --upgrade pip # on mac
xxxxxxxxxx
#for updating pip type the following command in terminal or cmd or powershell
python -m pip install --upgrade pip
xxxxxxxxxx
To do this use
pip install [name] --upgrade
If the above one dosent work use
pip install [name] -U