
#Download python for mac command prompt install#
You can install from the Homebrew package manager in two steps. Latest available version of python as of this writing is v3.10.0įor users who need to install from the command line, the Homebrew package manager is a good option.
#Download python for mac command prompt how to#
How to Install Python on Mac From Official Installer? It's a limitation as installing from homebrew is intended for the developers who require tkinter module. If your system version of Tkinter module is outdated or missing, homebrew won't import and install tkinter module at all. Tkinter is the standard library for developing GUIs (graphical user interfaces) in Python, but is not a part of Python.Īlso, homebrew does not install the Tkinter GUI toolkit (it's required for tinker module), it relies on existing version of Tkinter that is installed on your machine.

The Python package for macOS that comes with Homebrew doesn’t include the Tcl/Tk dependency required by the Tkinter module.

Homebrew is a free and open-source software package management system that simplifies the installation of software on macOS.īoth these methods will install python for you but only the official installer is maintained by the official python foundation.

As we can see from the above output, by default your machine comes with python 2.7.0 installed, hence we'll work on installing python 3.0.
