msaf requires Python3. We will install it with brew and rename the bin files as it assumes python and pip globally.

Preface:

# Your /usr/local/ should be writeable by anyone who has an account on your computer

sudo chmod g+w /usr/local

sudo chgrp staff /usr/local

brew install python3

mv /usr/local/bin/python3 /usr/local/bin/python

mv /usr/local/bin/pip3 /usr/local/bin/pip

which python
# should show you: /usr/local/bin/python

pip install numpy

pip install msaf