Formula

python@3.9

3.9.25

Interpreted, interactive, object-oriented programming language

Install

brew install python@3.9

Details

Sources

Supported platforms

ArchitecturePlatformsVersionDownload
Apple SiliconGolden Gate3.9.25File
SHA-2560e13914f9a25f392b03a7ee0397937b283a617c74a9daff2661dd0e847b19928
Apple SiliconTahoe3.9.25File
SHA-2565dacd6c96b01ab87a5ea6112b9d90185ebaea6057d8fce7b8f4abc435a767830
Apple SiliconSequoia3.9.25File
SHA-25686e3f3b3e6661968121763e16e65af98631914c9fed3b6776313baae75910623
Apple SiliconSonoma3.9.25File
SHA-25636ca5f187ed46be8f27b1607eeb5620c563a3deddd28f86daab972a136d274a4
IntelSonoma3.9.25File
SHA-2561a1b49850f0a2ee6b9307f5edaf78a7b2bbd1f2303e7ac520cb6e9a5be236ea0
ARM64Linux3.9.25File
SHA-2562f1119b3d9943ba00b4ff9057c9adc7312a3f7335f7743113990daa372023480
x86_64Linux3.9.25File
SHA-25690706d3e2fd0e65744c40d489e707adb4edace78859a1376f40705cd2999be68

Dependencies

  • gdbm
  • mpdecimal
  • openssl@3
  • readline
  • sqlite
  • xz

Package data

Caveats

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