Skip to content

Instantly share code, notes, and snippets.

@adejones
Created March 22, 2019 10:31
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 adejones/14acbc9165121047cf106ca32379c854 to your computer and use it in GitHub Desktop.
Save adejones/14acbc9165121047cf106ca32379c854 to your computer and use it in GitHub Desktop.
macOS pyenv install build failure help
# Xcode cli tools must be installed first, they have to be reinstalled after macOS version upgrades
xcode-select --install
# make sure Homebrew is up to date
brew update && brew upgrade
# change the version to be whichever one is failing
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v 3.7.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment