Why is Python included in Xcode Command Line Tools?
When you install Xcode Command Line Tools, Apple includes Python 3.9.6. I'm wondering why it is included. Is it a dependency for any Apple or third-party software?
Mac mini, macOS 14.5
When you install Xcode Command Line Tools, Apple includes Python 3.9.6. I'm wondering why it is included. Is it a dependency for any Apple or third-party software?
Mac mini, macOS 14.5
danielkehoe wrote:
When you install Xcode Command Line Tools, Apple includes Python 3.9.6. I'm wondering why it is included. Is it a dependency for any Apple or third-party software?
It is a dependency for Xcode. There are some obscure bits (Core Symbolication, LLDB, Bitcode build tool, and a couple of others) that have ".py" files. As others have said, don't use it. Download and install your own Python if you need it.
danielkehoe wrote:
When you install Xcode Command Line Tools, Apple includes Python 3.9.6. I'm wondering why it is included. Is it a dependency for any Apple or third-party software?
It is a dependency for Xcode. There are some obscure bits (Core Symbolication, LLDB, Bitcode build tool, and a couple of others) that have ".py" files. As others have said, don't use it. Download and install your own Python if you need it.
We are fellow users and have no inside information as to why Apple includes a very outdated version of Python3 with the command line tools. I don't use it, opting to install the current Python3 from Python.org. I also alter my PATH so that the Apple /usr/bin/python is never used.
danielkehoe wrote:
When you install Xcode Command Line Tools, Apple includes Python 3.9.6. I'm wondering why it is included. Is it a dependency for any Apple or third-party software?
general-purpose programming language...
https://www.coursera.org/articles/what-is-python-used-for-a-beginners-guide-to-using-python
Why is Python included in Xcode Command Line Tools?