pip install upgrade all

Shell
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip install -Upip install [package] --upgrade

Source

Also in Shell: