2021年10月10日 星期日

Mac 10.14.6 failed to do pyenv install 3.9-dev

The root cause was Xcode us MacOS10.15.sdk in 10.14.6.
Therefore, we can indicated SDKROOT to MacOSX10.15.sdk to install python 3.9-dev
please make sure clean up the python that claims in build failed log
Inspect or clean up the working tree at /var/folders/v5/_wxtsm_x74jg_nxv85hxy4jm0000gn/T/python-build.20211010100918.11807

SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk MACOSX_DEPLOYMENT_TARGET=10.14 PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.9-dev

  1. If you need to donwload 10.14 SDK, you can get it from below link https://github.com/phracker/MacOSX-SDKs/releases

沒有留言:

demo_article

使用 msty.app 和 Knowledge Stacks 建立個人知識庫系統 說明 嘗試利用local llm自動從文字檔轉成影音檔 利用AI自動對文件檔產生影音檔案 - YouTube 引言 在資訊爆炸的時代,我們每天接收大量的資訊,但如何有效地管理...