Skip to content

Instantly share code, notes, and snippets.

@tnibert
Created May 13, 2021 04:49
Show Gist options
  • Save tnibert/bd59a0f9cb184094342803b1030285ba to your computer and use it in GitHub Desktop.
Save tnibert/bd59a0f9cb184094342803b1030285ba to your computer and use it in GitHub Desktop.
pip install from python 2 console
from pip._internal import main
pkg = "numpy" # example
main(['install', pkg])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment