pip3 install --upgrade "--force pip" code example
Example 1: python update pip3
pip3 install --upgrade pip
Example 2: pip install --upgrade
# That line of shell code updates library
pip install --upgrade <library_name>
pip3 install --upgrade pip
# That line of shell code updates library
pip install --upgrade <library_name>