python update all packages pip code example
Example 1: update all pip packages
pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}
Example 2: pip install upgrade all
pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U