Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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