pip: tool for installing Python packages.
Posted by jpluimers on 2016/07/05
pip is a great tool for installing Python packages.
But upgrading them still isn’t so great. Here are two statements: the first to list packages needing an update. The second updating them:
pip freeze –local | grep -v ‘^\-e’ | cut -d = -f 1 | xargs -n1
pip freeze –local | grep -v ‘^\-e’ | cut -d = -f 1 | xargs -n1 pip install -U
If you’re interested in pip, it is easy to install if it isn’t already included in your version of Python that is..
–jeroen
via:
Leave a Reply