Skip to content

Instantly share code, notes, and snippets.

@kgriffs
Created June 8, 2021 15:29
Show Gist options
  • Save kgriffs/24b4417843ecec25cebedb510f216029 to your computer and use it in GitHub Desktop.
Save kgriffs/24b4417843ecec25cebedb510f216029 to your computer and use it in GitHub Desktop.
pyenv install on macOS Big Sur with ssl workaround using brew
CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib" pyenv install --patch 3.8.9 < <(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment