pip install --upgrade for all outdated packages (pip list --outdated code example
Example 1: pip install upgrade all
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
Example 2: update all packages in cmd
sudo pip install [package_name] --upgrade
#update single Package