pip list --format freeze | %{pip install --upgrade $_.split('==')[0]}
转载自StackOverflow:How to upgrade all Python packages with pip
pip list --format freeze | %{pip install --upgrade $_.split('==')[0]}
转载自StackOverflow:How to upgrade all Python packages with pip