PyEnv BUILD FAILED installing Python on MacOS

后端 未结 8 2060
无人及你
无人及你 2020-12-23 11:57

While trying to install Python 3.6.6 (for Airflow) using PyEnv on MacOS, I am encountering build failure

8条回答
  •  南笙
    南笙 (楼主)
    2020-12-23 12:39

    The accepted answer didn't work for me (Mojave) but this did:

    sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
    

    Credit to http://www.blog.howechen.com/macos-mojave-pyenv-install-multi-version-build-failed-solution/

提交回复
热议问题