pip update all outdated package(一行命令更新旧的pip包)

一行命令更新旧的pip包

pip list --outdated --format freeze|awk -F'=' '{print $1}'|xargs pip install --upgrade

~/.pip/pip.conf 配置参考:

[global]
index-url = https://mirrors.aliyun.com/pypi/simple/

[install]
trusted-host=mirrors.aliyun.com