Site icon Bytefreaks.net

How to upgrade all Python packages with pip

Advertisements

Below is the command that we use to update all outdated packages in pip.

pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1  | xargs -n1 pip install -U;

This post is also available in: Greek

Exit mobile version