The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,861 other subscribers

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 comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.