You will need to have Python 2.7 (and not v3 to avoid incompatibilities with some libraries). To check whatβs your default Python version, type python -V
in your terminal.
brew install pyenv
pyenv install 2.7.18
pyenv global 2.7.18 # set Python 2.7 as the global default one