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

沒有留言:

Obsidian 插件介紹:Text Generator

Text Generator 是 Obsidian 的一個插件,它可以根據給定的提示自動生成文本。這個插件使用 GPT-3 語言模型,能夠產生類似人類的文本,非常適合編寫故事、文章、電子郵件和其他類型文本。 主要功能: **生成文本:**根據提示生成各種長度的...