Unable to install frappe on Macbook

TASK [init bench] **************************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“bench”, “init”, “/Users/frappe/frappe-bench”, “–frappe-branch”, “develop”], “delta”: “0:00:00.412411”, “end”: “2017-02-18 14:24:38.718799”, “failed”: true, “rc”: 1, “start”: “2017-02-18 14:24:38.306388”, “stderr”: “Traceback (most recent call last):\n File "/usr/local/bin/bench", line 6, in \n from pkg_resources import load_entry_point\n File "/usr/local/lib/python2.7/site-packages/pkg_resources/init.py", line 3019, in \n @_call_aside\n File "/usr/local/lib/python2.7/site-packages/pkg_resources/init.py", line 3003, in _call_aside\n f(*args, **kwargs)\n File "/usr/local/lib/python2.7/site-packages/pkg_resources/init.py", line 3032, in _initialize_master_working_set\n working_set = WorkingSet._build_master()\n File "/usr/local/lib/python2.7/site-packages/pkg_resources/init.py", line 655, in _build_master\n ws.require(requires)\n File "/usr/local/lib/python2.7/site-packages/pkg_resources/init.py", line 963, in require\n needed = self.resolve(parse_requirements(requirements))\n File "/usr/local/lib/python2.7/site-packages/pkg_resources/init.py", line 849, in resolve\n raise DistributionNotFound(req, requirers)\npkg_resources.DistributionNotFound: The ‘six>=1.5’ distribution was not found and is required by python-dateutil”, “stdout”: “”, “stdout_lines”: [], “warnings”: []}
to retry, use: --limit @develop/install.retry

PLAY RECAP *********************************************************************
localhost : ok=18 changed=6 unreachable=0 failed=1

Traceback (most recent call last):
File “install.py”, line 351, in
File “install.py”, line 108, in install_bench
run_playbook(‘develop/install.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 301, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py”, line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘develop/install.yml’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=frappe’]’ returned non-zero exit status 2

Kindly help.

@Prashanta_Mahato I did the installation based on the above link. See if you can install on a Clean OS as mentioned in the article. I formatted my machine and reinstalled macSierra. (How to Clean Install macOS / OS X Without a USB Drive) How to Clean Install macOS / OS X Without a USB Drive

You are highly recommended to start with a fresh machine here unless you are a mac wizz in which case you won’t need this instruction to begin with.