pyenv报错:xcrun: error: invalid active developer path
运行:xcode-select --install

ERROR: The Python zlib extension was not compiled. Missing the zlib?
运行:

brew install zlib
CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" pyenv install 2.7.15