Skip to content

Instantly share code, notes, and snippets.

@skihero
Created June 5, 2014 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skihero/7bd9f68d8c6ef74d14bd to your computer and use it in GitHub Desktop.
Save skihero/7bd9f68d8c6ef74d14bd to your computer and use it in GitHub Desktop.
pip from within python
import pip
packages = ["StringIO"]
pip.main(["install", "--upgrade"] + packages )
@skihero
Copy link
Author

skihero commented Dec 16, 2014

This is how you install the packages that's needed with the pip command.

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