pip3 upgrade requests package code example
Example 1: pip upgrade
python -m pip install --upgrade pip
Example 2: update pip module
pip install [package_name] -U
python -m pip install --upgrade pip
pip install [package_name] -U