Skip to content

Instantly share code, notes, and snippets.

@karthicraghupathi
Created October 19, 2021 03:47
Show Gist options
  • Save karthicraghupathi/c589abaa81ba4c308dbaef9ad7b8b59b to your computer and use it in GitHub Desktop.
Save karthicraghupathi/c589abaa81ba4c308dbaef9ad7b8b59b to your computer and use it in GitHub Desktop.
Install Python 3.6.15 on macOS 11.6 (Big Sur)
brew install openssl@1.1 readline sqlite3 xz zlib
ASDF_PYTHON_PATCH_URL="https://github.com/python/cpython/commit/8ea6353.patch?full_index=1" \
CPPFLAGS="-I$(brew --prefix openssl@1.1)/include -I$(brew --prefix zlib)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/System/Library/Frameworks/Tk.framework/Versions/Current/Headers" \
LDFLAGS="-L$(brew --prefix openssl@1.1)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix readline)/lib" \
asdf install python 3.6.15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment