Skip to content

Instantly share code, notes, and snippets.

@hodgesmr
Forked from scott-hsieh/.sh
Last active December 12, 2020 00:29
Show Gist options
  • Save hodgesmr/6813a0593d74ddf60281e4b1517beb8f to your computer and use it in GitHub Desktop.
Save hodgesmr/6813a0593d74ddf60281e4b1517beb8f to your computer and use it in GitHub Desktop.
Compile Python 3.8.6 on MacBook with Big Sur
CPPFLAGS="-I$(brew --prefix zlib)/include -I$(brew --prefix bzip2)/include" && \
CFLAGS="-I$(brew --prefix openssl)/include -I$(brew --prefix readline)/include" && \
LDFLAGS="-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib" && \
pyenv install -v 3.8.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment