Install the dmg package and launch it from Applications.
If you XCode and XCode Command Line-Tools installed, you already have git installed on your machine. Note OSX comes with Python 2.7 by default, you will need to install Python 3.8 if you want to use it specifically. This tutorial will assume you have Python, Numpy and Git installed on your machine.
The following steps have been tested for MacOSX (Mavericks) but should work with other versions as well.
Next Tutorial: Cross compilation for ARM based Linux systems Prev Tutorial: Use OpenCL in Android camera preview based CV application