Skip to content

Instantly share code, notes, and snippets.

@AngerM
Last active November 11, 2021 21:23
Show Gist options
  • Save AngerM/53be2ffb7d00730d1bde2f3a87c49d5f to your computer and use it in GitHub Desktop.
Save AngerM/53be2ffb7d00730d1bde2f3a87c49d5f to your computer and use it in GitHub Desktop.
PyEnv python3 .6 install on MacOS 11.6.1 Big Sur

This was the command line I had to use to get it to install. It was trying to link against a more modern version of OpenSSL otherwise that did not work.

CFLAGS=-Wno-implicit-function-declaration CPPFLAGS="-I$(brew --prefix openssl@1.1)/include -I$(xcrun --show-sdk-path)/usr/include" LDFLAGS="-L$(brew --prefix openssl@1.1)/lib -Wno-implicit-function-declaration" pyenv install 3.6.15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment