python@3.10 (deprecated)

Disable date: 2027-10-01

Install command:
brew install python@3.10

Interpreted, interactive, object-oriented programming language

https://www.python.org/

License: Python-2.0

Development: Pull requests

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

Formula code: python@3.10.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.10.22

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.11 3.11.18 Interpreted, interactive, object-oriented programming language
python@3.9 3.9.25 Interpreted, interactive, object-oriented programming language

Revision: 1

Patches:

https://github.com/Homebrew/homebrew-core/blob/main/Patches/python/3.10-sysconfig.diff
https://github.com/Homebrew/homebrew-core/blob/main/Patches/python/3.10-distutils-scheme.diff

Depends on:

gdbm 1.26 GNU database manager
mpdecimal 4.0.1 Library for decimal floating point arithmetic
openssl@3 3.5.9 Cryptography and SSL/TLS Toolkit
readline 8.3.6 Library for command-line editing
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), libffi, libxcrypt, ncurses

Binaries: 2to3-3.10, idle3.10, pydoc3.10, python3.10, python3.10-config

Python is installed as
    $HOMEBREW_PREFIX/bin/python3.10

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

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

`idle3.10` requires tkinter, which is available separately:
    brew install python-tk@3.10

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

GitHub Packages downloads:

Last 30 days121,168
Downloads38,196,624
Analytics install events (30 days)20,956
Downloads / install events (30 days)5.8×

Source: GitHub Packages, fetched 2026-11-03T00:39:14Z. 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 days90 days365 days
Installs20,91760,416297,128
Installs (--HEAD)3990394
Installs on Request19,70957,201280,593
Installs on Request (--HEAD)3990392
Build Errors26

Known vulnerabilities in the current version:

GHSA-xmj3-9gf7-h52w setuptools: Windows path escape via namespace_packages.txt during legacy wheel installation Desc...

Data from Homebrew/advisory-database. Run brew vulns python@3.10 for a live check.