how to update pip in python by command prompt code example
Example 1: update pip
sudo pip3 install --upgrade pip
Example 2: how to update pip in python
python -m pip install --upgrade pip
sudo pip3 install --upgrade pip
python -m pip install --upgrade pip