Python: upgrading all packages with pip

# pip list --outdated --format=legacy | awk '{print $1;}' | xargs -n1 sudo pip install -U