Skip to content

Instantly share code, notes, and snippets.

@stedy
Created February 14, 2014 22:53
Show Gist options
  • Select an option

  • Save stedy/9011240 to your computer and use it in GitHub Desktop.

Select an option

Save stedy/9011240 to your computer and use it in GitHub Desktop.
Script to update all packages with pip. From https://stackoverflow.com/a/5839291/163809
import pip
from subprocess import call
for dist in pip.get_installed_distributions():
call('pip install --upgrade ' + dist.project_name, shell = True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment