python@3.9
Deprecation date: 2025-10-15
Install command:
brew install python@3.9
Interpreted, interactive, object-oriented programming language
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:
macOS on Apple Silicon |
tahoe | ✅ |
---|---|---|
sequoia | ✅ | |
sonoma | ✅ | |
ventura | ✅ | |
macOS on Intel |
sonoma | ✅ |
ventura | ✅ | |
Linux | ARM64 | ✅ |
x86_64 | ✅ |
Current versions:
stable | ✅ | 3.9.23 |
Other versions:
python@3.13 | 3.13.7 | Interpreted, interactive, object-oriented programming language |
python@3.12 | 3.12.11 | Interpreted, interactive, object-oriented programming language |
python@3.11 | 3.11.13 | Interpreted, interactive, object-oriented programming language |
python@3.10 | 3.10.18 | Interpreted, interactive, object-oriented programming language |
python@3.8 | 3.8.20 | Interpreted, interactive, object-oriented programming language |
Depends on:
gdbm | 1.26 | GNU database manager |
mpdecimal | 4.0.1 | Library for decimal floating point arithmetic |
openssl@3 | 3.5.2 | Cryptography and SSL/TLS Toolkit |
readline | 8.3.1 | Library for command-line editing |
sqlite | 3.50.4 | Command-line interface for SQLite |
xz | 5.8.1 | General-purpose data compression with high compression ratio |
Depends on when building from source:
pkgconf | 2.5.1 | 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 `idle3.9` requires tkinter, which 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 |
17,207 |
python@3.9 --HEAD |
27 |
Installs on Request (30 days) | |
python@3.9 |
16,401 |
python@3.9 --HEAD |
27 |
Build Errors (30 days) | |
python@3.9 |
4 |
Installs (90 days) | |
python@3.9 |
71,431 |
python@3.9 --HEAD |
89 |
Installs on Request (90 days) | |
python@3.9 |
68,246 |
python@3.9 --HEAD |
89 |
Installs (365 days) | |
python@3.9 |
524,302 |
python@3.9 --HEAD |
730 |
Installs on Request (365 days) | |
python@3.9 |
499,181 |
python@3.9 --HEAD |
730 |