Skip to content

Instantly share code, notes, and snippets.

@rscarrera27
Created January 10, 2021 08:53
Show Gist options
  • Save rscarrera27/98fe62de02bd00c1cef45e109c3ed7c7 to your computer and use it in GitHub Desktop.
Save rscarrera27/98fe62de02bd00c1cef45e109c3ed7c7 to your computer and use it in GitHub Desktop.
How to pyenv install in Big Sur
export PYVER=3.7.7
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 $PYVER < <(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