Skip to content

Instantly share code, notes, and snippets.

@cuevasclemente
Created December 15, 2020 21:20
Show Gist options
  • Save cuevasclemente/a30a5385f9cd57b62cbaff8f4570d436 to your computer and use it in GitHub Desktop.
Save cuevasclemente/a30a5385f9cd57b62cbaff8f4570d436 to your computer and use it in GitHub Desktop.
Install pyenv stuff in bigsur
bash -c 'CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install -v 3.7.4'
@cuevasclemente
Copy link
Author

Maybe this is more overkill but a possibility as well:
bash -c '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.7.1 < <(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