python@3.12

Install command:
brew install python@3.12

Interpreted, interactive, object-oriented programming language

https://www.python.org/

License: Python-2.0

Formula JSON API: /api/formula/python@3.12.json

Formula code: python@3.12.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 3.12.0

Other versions:

python@3.11 3.11.6 Interpreted, interactive, object-oriented programming language
python@3.10 3.10.13 Interpreted, interactive, object-oriented programming language
python@3.9 3.9.18 Interpreted, interactive, object-oriented programming language
python@3.8 3.8.18 Interpreted, interactive, object-oriented programming language
python@3.7 3.7.17 Interpreted, interactive, object-oriented programming language

Depends on:

mpdecimal 2.5.1 Library for decimal floating point arithmetic
openssl@3 3.2.0 Cryptography and SSL/TLS Toolkit
sqlite 3.44.2 Command-line interface for SQLite
xz 5.4.5 General-purpose data compression with high compression ratio

Depends on when building from source:

pkg-config 0.29.2 Manage compile and link flags for libraries
Python has been installed as
    $HOMEBREW_PREFIX/bin/python3.12

Unversioned and major-versioned symlinks `python`, `python3`, `python-config`, `python3-config`, `pip`, `pip3`, etc. pointing to
`python3.12`, `python3.12-config`, `pip3.12` etc., respectively, have been installed into
    $HOMEBREW_PREFIX/opt/python@3.12/libexec/bin

You can install Python packages with
    pip3.12 install <package>
They will install into the site-package directory
    $HOMEBREW_PREFIX/lib/python3.12/site-packages

tkinter is no longer included with this formula, but it is available separately:
    brew install python-tk@3.12

If you do not need a specific version of Python, and always want Homebrew's `python3` in your PATH:
    brew install python3

See: https://docs.brew.sh/Homebrew-and-Python

Analytics:

Installs (30 days)
python@3.12 114,297
Installs on Request (30 days)
python@3.12 4,309
Build Errors (30 days)
python@3.12 2,159
Installs (90 days)
python@3.12 203,323
Installs on Request (90 days)
python@3.12 9,899
Installs (365 days)
python@3.12 203,325
Installs on Request (365 days)
python@3.12 9,899
Fork me on GitHub