I’m facing a terminal error on frappe init
using python3 on mac that I can’t quite figure out. frappe_io seems to expect MySQL-python, but as I understand it that library isn’t available for python3. Any tips on how to proceed?
installing frappe_ioxxxxxx
INFO:bench.app:installing frappe_io
INFO:bench.utils:frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe_io --no-cache-dir
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/t9/7z0p020138s20gj3ymh069f00000gp/T/pip-install-m1ylw1dd/MySQL-python/
Traceback (most recent call last):
File "/usr/local/bin/bench", line 11, in <module>
load_entry_point('bench', 'console_scripts', 'bench')()
File "/Users/xxxxxx/bench-repo/bench/cli.py", line 40, in cli
bench_command()
File "/Users/xxxxxx/Library/Python/3.7/lib/python/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/Users/xxxxxx/Library/Python/3.7/lib/python/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/Users/xxxxxx/Library/Python/3.7/lib/python/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/xxxxxx/Library/Python/3.7/lib/python/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/xxxxxx/Library/Python/3.7/lib/python/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Users/xxxxxx/bench-repo/bench/commands/make.py", line 30, in init
python = python)
File "/Users/xxxxxx/bench-repo/bench/utils.py", line 75, in init
get_app(frappe_path, branch=frappe_branch, bench_path=path, build_asset_files=False, verbose=verbose)
File "/Users/xxxxxx/bench-repo/bench/app.py", line 141, in get_app
branch= 'master', postprocess = False)
File "/Users/xxxxxx/bench-repo/bench/app.py", line 135, in get_app
install_app(app=app_name, bench_path=bench_path, verbose=verbose)
File "/Users/xxxxxx/bench-repo/bench/app.py", line 179, in install_app
find_links=find_links))
File "/Users/xxxxxx/bench-repo/bench/utils.py", line 159, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe_io --no-cache-dir