Skip to content

Instantly share code, notes, and snippets.

@excenter
Created November 30, 2018 04:35
  • Star 15 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save excenter/48bb9b10aa77406b83c7752d79eb0b7d to your computer and use it in GitHub Desktop.
Mojave pyenv update
export VERSION="3.7.1"
xcode-select --install
brew update
brew upgrade
brew install zlib
brew reinstall zlib
export LDFLAGS="-L/usr/local/opt/zlib/lib"
export CPPFLAGS="-I/usr/local/opt/zlib/include"
pyenv install $VERSION
pyenv global $VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment