Which Python?

I have a new Mac Studio Max in which I installed xcode, and Swift. I see on this page:

that Swift has a dependency on Python. In the Terminal program the command "python -V" got a response that the command "python" is unknown.

So in the Mac Studio computer I went to Discover and did a search for Python, and saw a bewildering number of Python options to install. Which is the appropriate one to serve as Swift's Python dependency?

On that page Python is only on listed as a dependency on CentOS and Windows.

1 Like

On macOS, Python is preinstalled, but might not be in your PATH in your terminal session. Just install and use Xcode and I guess you‘ll be fine.

To my understanding, Python is used for scripting of the LLDB debugger.

1 Like