Turning a Mac into a Developer Machine based on Master branch without Installer

First of all, thank you very much @dominik for putting up such as detailed tutorial for noob like me here,however i run into some problem…

  1. Install the bench-repo

sudo pip install -e bench-repo

  1. Install the master branch of frappe-bench

bench init frappe-bench --frappe-branch master

i get this

Successfully installed bench-3.0.0
➜ Dev bench init frappe-bench --frappe-branch master
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/usr/local/lib/python3.5/site-packages/pkg_resources/init.py”, line 549, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File “/usr/local/lib/python3.5/site-packages/pkg_resources/init.py”, line 2709, in load_entry_point
return ep.load()
File “/usr/local/lib/python3.5/site-packages/pkg_resources/init.py”, line 2369, in load
return self.resolve()
File “/usr/local/lib/python3.5/site-packages/pkg_resources/init.py”, line 2375, in resolve
module = import(self.module_name, fromlist=[‘name’], level=0)
File “/Users/wks/Dev/bench-repo/bench/cli.py”, line 29
print click.Context(bench_command).get_help()
^
SyntaxError: invalid syntax