Site icon installvirtual

How to install python 3.7.0 on Mac

In this tutorial, I will show you how to install Python 3.7.0 on Mac. Python 3.7.0 is the newest major release of the Python language, and it contains many new features and optimizations.

Python is an interpreted high-level programming language for general-purpose programming. Created by Guido van Rossum and first released in 1991, Python has a design philosophy that emphasizes code readability, notably using significant whitespace. It provides constructs that enable clear programming on both small and large scales. In July 2018, Van Rossum stepped down as the leader in the language community after 30 years.

Read Also: Dockerize Node js app

How to install Python 3.7.0 on Mac

Download the latest binary from the python official website using the following link.

Python.org downloads page

Now run the Python installer package and install Python.

 

How to Install Python 3.7.0 with Homebrew

The preferred way of installing an updated version of Python is using Homebrew. Installing any packages with Homebrew is very easy. I mostly prefer Homebrew for installing most of the packages.

To install the latest version of Python 3 using Homebrew, just issue the following command:

brew install python3

After installation, you can check the version using the following command:

python3 --version
Python 3.7.0

If you have already installed older version then 3.7.0 you will get this error.

Error: python 3.6.4_4 is already installed
To upgrade to 3.7.0, run `brew upgrade python`

You can run brew upgrade python to upgrade the python version to 3.7.0.

If you have issues using this tutorial please feel free to comment below.

You might also like: https://installvirtual.com/install-teamcity-agent-on-ubuntu-18-04/

 

Exit mobile version