Skip to content

Instantly share code, notes, and snippets.

Jorijn Jacko Smit jorijnsmit

Block or report user

Report or block jorijnsmit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
SeppPenner /
Last active Oct 10, 2019
Python upgrade Pip packages

For pip < 10.0.1:

import pip
from subprocess import call

packages = [dist.project_name for dist in pip.get_installed_distributions()]
for package in packages:
		call("pip install --upgrade " + package, shell=True)
You can’t perform that action at this time.