Skip to content

Instantly share code, notes, and snippets.

@CristhianBoujon
Last active October 5, 2018 16:21
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 CristhianBoujon/465cb77d485d0144127e01f152a2cfc1 to your computer and use it in GitHub Desktop.
Save CristhianBoujon/465cb77d485d0144127e01f152a2cfc1 to your computer and use it in GitHub Desktop.
instalar python & pip en mac

Instalar brewhome

brewhome es un gestor de paquetes

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Instalar pyenv

Pueden instalar directamente python haciendo brew install python pero les instala la última versión. Puede que esto no sea lo que queremos y brew no nos da una manera fácil de instalar versiones anteriores, así que decidí utilizar pyenv brew install pyenv

pyenv install <python verion that you want>

Instalar pip

Lo malo es que pyenv no instala python con pip, así que hay que instarlo aparte

curl -O https://bootstrap.pypa.io/get-pip.py
python get-pip.py

Chequee que el comando python tenga la versión correcta para su caso particular.

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