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