Haikson

[ Everything is possible. Everything takes time. ]

How to update all python packages

Here is a simple solution how to update all python packages through single command line.

pip3 freeze --local | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip install -U

Or You can update only outdated

pip3 list -u --format=freeze | grep -v '^\-e' | cut -d = -f 1|xargs -n1 sudo pip3 install -U