Make sure python , pip , and virtualenv are installed (they should be on mac) , if not, go to,
https://www.python.org/downloads/
to install latest version. Check the latest version installed with,
pip --version
Check version of pip,
pip --version
If not installed visit https://pip.pypa.io/en/stable/installation/ to get the command to install
python -m ensurepip --upgrade