Installing Python 3 on Mac OS

From Littledamien Wiki
Jump to navigation Jump to search

Install with pyenv[edit]

Install/update pyenv. [1]

$ brew install pyenv

Install a version of python. pyenv install --list for a list of available versions.

$ pyenv install 3.9.1

Set the default version of python.

$ pyenv global 3.9.1

Legacy article content[edit]

As of 2016, Macs come with Python 2.7.x installed.

The python installer for Mac OS is an installer package as opposed to something that can be installed on the command line.

Search for "Install Python 3" to find the Python download page.

Download the 64-bit Python installer package for Mac OS.

(The installer doesn't require admin privileges.)

See also[edit]

Links[edit]

See Python Virtual Environments for running Python 3.

References[edit]