python@3.11

Install command:
brew install python@3.11

Interpreted, interactive, object-oriented programming language

https://www.python.org/

License: Python-2.0

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

Formula code: python@3.11.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable 3.11.10

Other versions:

python@3.13 3.13.0 Interpreted, interactive, object-oriented programming language
python@3.12 3.12.7 Interpreted, interactive, object-oriented programming language
python@3.10 3.10.15 Interpreted, interactive, object-oriented programming language
python@3.9 3.9.20 Interpreted, interactive, object-oriented programming language
python@3.8 3.8.20 Interpreted, interactive, object-oriented programming language

Depends on:

mpdecimal 4.0.0 Library for decimal floating point arithmetic
openssl@3 3.4.0 Cryptography and SSL/TLS Toolkit
sqlite 3.47.0 Command-line interface for SQLite
xz 5.6.3 General-purpose data compression with high compression ratio

Depends on when building from source:

pkgconf 2.3.0 Package compiler and linker metadata toolkit
Python is installed as
    $HOMEBREW_PREFIX/bin/python3.11

Unversioned and major-versioned symlinks `python`, `python3`, `python-config`, `python3-config`, `pip`, `pip3`, etc. pointing to
`python3.11`, `python3.11-config`, `pip3.11` etc., respectively, are installed into
    $HOMEBREW_PREFIX/opt/python@3.11/libexec/bin

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

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

gdbm (`dbm.gnu`) is no longer included in this formula, but it is available separately:
    brew install python-gdbm@3.11
`dbm.ndbm` changed database backends in Homebrew Python 3.11.
If you need to read a database from a previous Homebrew Python created via `dbm.ndbm`,
you'll need to read your database using the older version of Homebrew Python and convert to another format.
`dbm` still defaults to `dbm.gnu` when it is installed.

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

For more information about Homebrew and Python, see: https://docs.brew.sh/Homebrew-and-Python

Analytics:

Installs (30 days)
python@3.11 67,156
python@3.11 --HEAD 100
Installs on Request (30 days)
python@3.11 46,653
python@3.11 --HEAD 99
Build Errors (30 days)
python@3.11 48
Installs (90 days)
python@3.11 280,128
python@3.11 --HEAD 398
Installs on Request (90 days)
python@3.11 185,257
python@3.11 --HEAD 396
Installs (365 days)
python@3.11 1,760,622
python@3.11 --HEAD 2,115
Installs on Request (365 days)
python@3.11 1,128,873
python@3.11 --HEAD 2,110
Fork me on GitHub