[MacTUG] Build pyenv Python versions on macOS Catalina 10.15 - Peterbe.com

Marlon A. Griffith m3griffi at uwaterloo.ca
Wed Feb 19 14:43:42 EST 2020


"""
I'm still working on getting pyenv in my bloodstream. It seems like 
totally the right tool for having different versions of Python available 
on macOS that don't suddenly break when you run brew upgrade 
periodically. ...

... So, the magical line was this:

SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk 
\
MACOSX_DEPLOYMENT_TARGET=10.15 \
PYTHON_CONFIGURE_OPTS="--enable-framework" \
pyenv install -v 3.7.6

https://www.peterbe.com/plog/build-pyenv-python-versions-on-macos-catalina-10.15
"""


More information about the MacTUG mailing list