Help on Frappe installation

Hello,

I am having following issues when trying to install frappe.

➜ Dev bench init frappe-bench --frappe-branch master
INFO:bench.utils:virtualenv -q env -p /usr/local/opt/python/bin/python2.7
Already using interpreter /usr/local/opt/python/bin/python2.7
INFO:bench.utils:./env/bin/pip -q install --upgrade pip
INFO:bench.utils:./env/bin/pip -q install wheel
INFO:bench.utils:./env/bin/pip -q install -e git+https://github.com/frappe/python-pdfkit.git#egg=pdfkit
INFO:bench.app:getting app frappe
INFO:bench.utils:git clone GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript --branch master --origin upstream
Cloning into ‘frappe’…
remote: Counting objects: 129585, done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 129585 (delta 22), reused 26 (delta 14), pack-reused 129517
Receiving objects: 100% (129585/129585), 99.88 MiB | 3.88 MiB/s, done.
Resolving deltas: 100% (97697/97697), done.
(‘installing’, u’frappe’)
INFO:bench.app:installing frappe
INFO:bench.utils:frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe --no-cache-dir
Command “/Users/chanyork/Dev/frappe-bench/env/bin/python2.7 -u -c “import setuptools, tokenize;file=‘/private/var/folders/js/86s2nw6n1cbcmfdf9j2lrxwh0000gn/T/pip-build-79bba4/mysqlclient/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /var/folders/js/86s2nw6n1cbcmfdf9j2lrxwh0000gn/T/pip-BFBOaW-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/chanyork/Dev/frappe-bench/env/bin/…/include/site/python2.7/mysqlclient” failed with error code 1 in /private/var/folders/js/86s2nw6n1cbcmfdf9j2lrxwh0000gn/T/pip-build-79bba4/mysqlclient/
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/Users/chanyork/Dev/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/site-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/Users/chanyork/Dev/bench-repo/bench/commands/make.py”, line 19, in init
verbose=verbose, clone_from=clone_from)
File “/Users/chanyork/Dev/bench-repo/bench/utils.py”, line 56, in init
get_app(frappe_path, branch=frappe_branch, bench_path=path, build_asset_files=False, verbose=verbose)
File “/Users/chanyork/Dev/bench-repo/bench/app.py”, line 76, in get_app
install_app(app=app_name, bench_path=bench_path, verbose=verbose)
File “/Users/chanyork/Dev/bench-repo/bench/app.py”, line 107, in install_app
find_links=find_links))
File “/Users/chanyork/Dev/bench-repo/bench/utils.py”, line 130, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe --no-cache-dir
➜ Dev

looks like issue while installing the mysqlclient, Please check the following link

Hope this helps

Does not work as the solution is for Linux where I am try to install on Mac OSX