Skip to content

Instantly share code, notes, and snippets.

@stypr stypr/
Created Jul 1, 2015

What would you like to do?
pip update all packages
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
You can’t perform that action at this time.