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

Posted on Jun 5, 2024 9:06 PM

Reply
Question marked as Top-ranking reply

Posted on Jun 6, 2024 11:19 AM

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.

3 replies
Question marked as Top-ranking reply

Jun 6, 2024 11:19 AM in response to danielkehoe

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.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Why is Python included in Xcode Command Line Tools?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.