How to upgrade all Python packages with pip

Опубликовано: 28 Сентябрь 2024
на канале: Bytive
11,045
98

**Command for Windows System :
pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}

**Instructions for Linux System :
*To upgrade all packages using pip with grep on Ubuntu Linux:
pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U


Thanks for watching this video !

Don't forget to drop a like and share it with your friends !

Subscribe to the Hackanons channel for more such interesting videos !