Skip to content

Instantly share code, notes, and snippets.

@hjhjw1991
Created March 30, 2016 12:23
Show Gist options
  • Save hjhjw1991/b087e62cb8e4d868ba7589f6daeca2ca to your computer and use it in GitHub Desktop.
Save hjhjw1991/b087e62cb8e4d868ba7589f6daeca2ca to your computer and use it in GitHub Desktop.
# upgrade all pip packages. need sudo permission. path of pip should be modified
pip freeze --local|grep -v '^-e' | cut -d = -f 1 | xargs sudo /usr/local/bin/pip install -U
@hjhjw1991
Copy link
Author

On mac, remove "sudo". If using python3, change pip to pip3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment