python@3.11
Deprecation date: 2027-11-01
Disable date: 2028-11-01
brew install python@3.11Interpreted, interactive, object-oriented programming language
License: Python-2.0
Development: Pull requests
Formula JSON API: /api/formula/python@3.11.json
Formula code: python@3.11.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 3.11.18 |
Other versions:
| python@3.15 | 3.15.2 | Interpreted, interactive, object-oriented programming language |
| python@3.14 | 3.14.10 | Interpreted, interactive, object-oriented programming language |
| python@3.13 | 3.13.18 | Interpreted, interactive, object-oriented programming language |
| python@3.12 | 3.12.16 | Interpreted, interactive, object-oriented programming language |
| python@3.10 | 3.10.22 | Interpreted, interactive, object-oriented programming language |
| python@3.9 | 3.9.25 | Interpreted, interactive, object-oriented programming language |
Depends on:
| mpdecimal | 4.0.1 | Library for decimal floating point arithmetic |
| openssl@3 | 3.5.9 | Cryptography and SSL/TLS Toolkit |
| sqlite | 3.54.1 | Command-line interface for SQLite |
| xz | 5.8.4 | General-purpose data compression with high compression ratio |
Depends on when building from source:
| pkgconf | 3.0.10 | Package compiler and linker metadata toolkit |
Uses from macOS: bzip2, expat (since macOS Sequoia), libedit, libffi, libxcrypt, ncurses
Binaries:
2to3-3.11,
idle3.11,
pydoc3.11,
python3.11,
python3.11-config
| 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 `idle3.11` requires tkinter, which 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 |
GitHub Packages downloads:
| Last 30 days | 365,032 |
|---|---|
| Downloads | 36,468,942 |
| Analytics install events (30 days) | 40,534 |
| Downloads / install events (30 days) | 9.0× |
Source: GitHub Packages, fetched 2026-11-03T00:38:55Z. Analytics dates: 2026-10-04 to 2026-11-03. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 40,450 | 99,582 | 555,752 |
Installs (--HEAD) | 84 | 170 | 899 |
| Installs on Request | 36,594 | 89,339 | 506,143 |
Installs on Request (--HEAD) | 84 | 170 | 896 |
| Build Errors | 51 |