Skip to content

Instantly share code, notes, and snippets.

@gotofritz
Created January 22, 2021 10:45
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 gotofritz/0bc12425b1173c051eeea100fcee48ba to your computer and use it in GitHub Desktop.
Save gotofritz/0bc12425b1173c051eeea100fcee48ba to your computer and use it in GitHub Desktop.
Install python in Big Sur with pyenv
brew reinstall bzip2
brew reinstall zlib
CPPFLAGS="-I$(brew --prefix bzip2)/include -I$(brew --prefix zlib)/include" \
LDFLAGS="-L$(brew --prefix bzip2)/lib -L$(brew --prefix zlib)/lib" \
pyenv install --patch 3.6.4 < <(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