filmov
tv
Useful Pip commands for package management #python3 #pip3 #commands #windows #linux #macos
Показать описание
Pip Commands:
list pkgs: pip list
list outdated packages: pip list --o
upgrade all outdated packages for windows: for /F "skip=2 delims= " %i in ('pip list --outdated') do pip install --upgrade %i
upgrade all outdated packages for linux or mac: pip list --outdated --format=freeze | awk -F"==" '{print $1}' | xargs -i pip install -U {}
pip cache disk usage: pip cache info
pip cache purge: pip cache purge
Timestamps:
00:00 Start
00:05 List Packages
00:11 List outdated packages
00:18 Upgrade all outdated packages
00:35 List installed Python versions (Windows)
00:40 Pip Cache Info
00:50 Pip Cache purge
00:55 Outro
01:27 End
list pkgs: pip list
list outdated packages: pip list --o
upgrade all outdated packages for windows: for /F "skip=2 delims= " %i in ('pip list --outdated') do pip install --upgrade %i
upgrade all outdated packages for linux or mac: pip list --outdated --format=freeze | awk -F"==" '{print $1}' | xargs -i pip install -U {}
pip cache disk usage: pip cache info
pip cache purge: pip cache purge
Timestamps:
00:00 Start
00:05 List Packages
00:11 List outdated packages
00:18 Upgrade all outdated packages
00:35 List installed Python versions (Windows)
00:40 Pip Cache Info
00:50 Pip Cache purge
00:55 Outro
01:27 End