I just installed bench in fresh ubuntu 14.04
Run bench init frappe-bench
then Got this error:
Already using interpreter /usr/bin/python
INFO:bench.app:getting app frappe
Cloning into 'frappe'...
remote: Counting objects: 109224, done.
remote: Compressing objects: 100% (178/178), done.
remote: Total 109224 (delta 83), reused 0 (delta 0), pack-reused 109046
Receiving objects: 100% (109224/109224), 80.69 MiB | 730.00 KiB/s, done.
Resolving deltas: 100% (80894/80894), done.
Checking connectivity... done.
installing frappe
INFO:bench.app:installing frappe
Command "/home/egig/frappe-bench/env/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-Ctf8Fc/mysql-python/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-IQSaPT-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/egig/frappe-bench/env/include/site/python2.7/mysql-python" failed with error code 1 in /tmp/pip-build-Ctf8Fc/mysql-python/
Traceback (most recent call last):
File "/usr/local/bin/bench", line 9, in <module>
load_entry_point('bench==4.1.0', 'console_scripts', 'bench')()
File "/home/egig/bench-repo/bench/cli.py", line 40, in cli
bench_command()
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
return callback(*args, **kwargs)
File "/home/egig/bench-repo/bench/commands/make.py", line 19, in init
verbose=verbose, clone_from=clone_from)
File "/home/egig/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 "/home/egig/bench-repo/bench/app.py", line 73, in get_app
install_app(app=app_name, bench_path=bench_path, verbose=verbose)
File "/home/egig/bench-repo/bench/app.py", line 103, in install_app
find_links=find_links))
File "/home/egig/bench-repo/bench/utils.py", line 127, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe
What could be the issue ?