python@3.9

Install command:
brew install python@3.9

Also known as: python, python3, python@3

Interpreted, interactive, object-oriented programming language

https://www.python.org/

License: Python-2.0

/api/formula/python@3.9.json (JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
catalina
mojave
Apple Silicon big sur

Current versions:

stable 3.9.4

Other versions:

python@3.8 3.8.9 Interpreted, interactive, object-oriented programming language
python@3.7 3.7.10 Interpreted, interactive, object-oriented programming language

Depends on:

gdbm 1.19 GNU database manager
mpdecimal 2.5.1 Library for decimal floating point arithmetic
openssl@1.1 1.1.1k Cryptography and SSL/TLS Toolkit
readline 8.1 Library for command-line editing
sqlite 3.35.4 Command-line interface for SQLite
xz 5.2.5 General-purpose data compression with high compression ratio

Depends on when building from source:

pkg-config 0.29.2 Manage compile and link flags for libraries
Python has been installed as
    $(brew --prefix)/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
    $(brew --prefix)/opt/python@3.9/libexec/bin

You can install Python packages with
    pip3 install <package>
They will install into the site-package directory
    $(brew --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

See: https://docs.brew.sh/Homebrew-and-Python

Analytics:

Installs (30 days)
python@3.9 797,484
python@3.9 --with-tcl-tk 2
Installs on Request (30 days)
python@3.9 267,225
python@3.9 --with-tcl-tk 2
Build Errors (30 days)
python@3.9 572
Installs (90 days)
python@3.9 2,301,955
python@3.9 --with-tcl-tk 8
Installs on Request (90 days)
python@3.9 776,130
python@3.9 --with-tcl-tk 8
Installs (365 days)
python@3.9 4,800,095
python@3.9 --with-tcl-tk 24
python@3.9 --HEAD 5
Installs on Request (365 days)
python@3.9 1,411,679
python@3.9 --with-tcl-tk 19
python@3.9 --HEAD 5
Fork me on GitHub