Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Had to add filters for lines beginning with 'Could' and 'Some' because apparently pip sends warnings to stdout :( Commented Aug 13, 2015 at 23:03
  • OK, this is fair: You can add as many | sed 's/^<First characters of the error>.*//' as needed. Thank you! Commented Nov 3, 2015 at 0:31
  • 17
    Or: pip list --outdated | cut -d ' ' -f 1 | xargs -n 1 pip install --upgrade Commented Dec 9, 2015 at 21:15
  • 1
    that works for me, with python3.12 out of the box: pip3 list -o | cut -f1 -d' ' | tr " " "\n" | awk '{if(NR>=3)print}' | cut -d' ' -f1 | xargs -n1 pip3 install -U Commented Mar 28, 2024 at 21:18