Installation Error on Ubuntu 16.04

I’ve followed the Manual Install procedure at GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps and get as far a bench init and get the following error:

$ bench init frappe-bench && cd frappe-bench
Already using interpreter /usr/bin/python app frappe
Cloning into ‘frappe’…
remote: Counting objects: 1884, done.
remote: Compressing objects: 100% (1746/1746), done.
remote: Total 1884 (delta 231), reused 738 (delta 86), pack-reused 0
Receiving objects: 100% (1884/1884), 12.37 MiB | 6.09 MiB/s, done.
Resolving deltas: 100% (231/231), done.
Checking connectivity… done.
installing frappe frappe
Command “python egg_info” failed with error code 1 in /tmp/pip-build-VDHtav/mysql-python/
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/erp_data_up/data/bench-repo/bench/”, line 40, in cli
File “/usr/local/lib/python2.7/dist-packages/click/”, line 716, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 696, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 534, in invoke
return callback(*args, **kwargs)
File “/erp_data_up/data/bench-repo/bench/commands/”, line 19, in init
verbose=verbose, clone_from=clone_from)
File “/erp_data_up/data/bench-repo/bench/”, line 56, in init
get_app(frappe_path, branch=frappe_branch, bench_path=path, build_asset_files=False, verbose=verbose)
File “/erp_data_up/data/bench-repo/bench/”, line 73, in get_app
install_app(app=app_name, bench_path=bench_path, verbose=verbose)
File “/erp_data_up/data/bench-repo/bench/”, line 103, in install_app
File “/erp_data_up/data/bench-repo/bench/”, line 127, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe

Why not just run the Easy Install?

We need to install to a specific disk partition

I’d recommend installing on a clean system to prevent issues. However, run frappe-bench/env/bin/pip install -e frappe-bench/apps/frappe to manually install frappe requirements without the -q flag so you can see the whole traceback

Easy install also does not seem to work. Will create a new thread for that