Saturday, October 14, 2017

Upgrade all pip packages

How to upgrade all installed Python packages at the same time?

pip freeze — local | grep -v ‘^\-e’ | cut -d = -f 1 | xargs -n1 pip install -U




Or pip3:

 
pip3 freeze — local | grep -v ‘^\-e’ | cut -d = -f 1 | xargs -n1 pip3 install -U

No comments:

Post a Comment

AI/ML issue

When talking about AI, there is often seen the concept of "one-shot-learning". This is quite a basic understanding difference betw...