Mac osx pyenv报错解决方案



  • 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
    

Log in to reply