python@3.9

Install command:
brew install python@3.9

Interpreted, interactive, object-oriented programming language

https://www.python.org/

License: Python-2.0

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

Formula code: python@3.9.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable 3.9.21

Other versions:

python@3.13 3.13.1 Interpreted, interactive, object-oriented programming language
python@3.12 3.12.8 Interpreted, interactive, object-oriented programming language
python@3.11 3.11.11 Interpreted, interactive, object-oriented programming language
python@3.10 3.10.16 Interpreted, interactive, object-oriented programming language
python@3.8 3.8.20 Interpreted, interactive, object-oriented programming language

Depends on:

gdbm 1.24 GNU database manager
mpdecimal 4.0.0 Library for decimal floating point arithmetic
openssl@3 3.4.0 Cryptography and SSL/TLS Toolkit
readline 8.2.13 Library for command-line editing
sqlite 3.47.1 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.9

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

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

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

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.9 45,922
python@3.9 --HEAD 50
Installs on Request (30 days)
python@3.9 43,752
python@3.9 --HEAD 50
Build Errors (30 days)
python@3.9 9
Installs (90 days)
python@3.9 160,467
python@3.9 --HEAD 231
Installs on Request (90 days)
python@3.9 153,546
python@3.9 --HEAD 231
Installs (365 days)
python@3.9 686,527
python@3.9 --HEAD 898
Installs on Request (365 days)
python@3.9 637,562
python@3.9 --HEAD 898
Fork me on GitHub