Categories: MAC App

macOS 12.3 停止內置 Python 2  鼓勵開發者使用 Python 3

Published by
藍骨
Share

Apple 在 macOS 內一直有提供不同的開發者元件,包括 Python 2,不過在新版本的 macOS 12.3 內,就終於移除了 Python 2,鼓勵開發者轉用新的 Python 3。

Apple 早在 2020 年初就已經停止支援 Python 2,包括問題修復和安全等更新都停止供應,但 Python 2.7 本身仍然內置在 macOS 之中。直到下一個版本的 macOS 12.3 才會正式移除。

Apple 表示,開發者之後可以使用其他的程式語言例如 Python 3,不過目前 macOS 並未內置 Python 3,需要額外下載 Xcode 開發者工具,使用裏面的 Python 3 元件。同時 Apple 亦提醒開發者如果所製作的軟件需要這些程式語言元件才可以運作,應該將 runtime 整合在軟件內提供,以減少不必要的麻煩。

來源:MacRumors

unwire.hk Mewe 專頁: https://mewe.com/p/unwirehk


相關文章:
  • macOS 修復神器「Fix Tim」 免重啟修復 Wi-Fi、iCloud 同步失靈等復古靈精怪 bug

  • Published by
    藍骨