Frappe-Bench init error

following error occurred while running command “bench init frappe-bench”, please help …

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-DUvTZo/mysql-python/
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/bilal/redis-stable/utils/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/bilal/redis-stable/utils/bench-repo/bench/commands/make.py”, line 19, in init
verbose=verbose, clone_from=clone_from)
File “/home/bilal/redis-stable/utils/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/bilal/redis-stable/utils/bench-repo/bench/app.py”, line 73, in get_app
install_app(app=app_name, bench_path=bench_path, verbose=verbose)
File “/home/bilal/redis-stable/utils/bench-repo/bench/app.py”, line 103, in install_app
find_links=find_links))
File “/home/bilal/redis-stable/utils/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

@m_shafeeq

install frappe app manually

env/bin/pip install -q -e apps/frappe

following error occurred now…

Command “/home/bilal/frappe-bench/env/bin/python -u -c “import setuptools, tokenize;file=‘/tmp/pip-build-65pvzW/mysql-python/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /tmp/pip-XdLiWR-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/bilal/frappe-bench/env/include/site/python2.7/mysql-python” failed with error code 1 in /tmp/pip-build-65pvzW/mysql-python/

Follow instructions on link

And make sure you are in frappe bench folder.
For a quick fix try
bench init frappe bench & cd frappe bench

getting following error on
bench init frappe bench

`Already using interpreter /usr/bin/python
Traceback (most recent call last):
File “/usr/local/bin/virtualenv”, line 11, in
load_entry_point(‘virtualenv==15.1.0’, ‘console_scripts’, ‘virtualenv’)()
File “/usr/local/lib/python2.7/dist-packages/virtualenv.py”, line 713, in main
symlink=options.symlink)
File “/usr/local/lib/python2.7/dist-packages/virtualenv.py”, line 945, in create_environment
download=download,
File “/usr/local/lib/python2.7/dist-packages/virtualenv.py”, line 901, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File “/usr/local/lib/python2.7/dist-packages/virtualenv.py”, line 797, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /home/bilal/frappe-bench/env/bin/python - setuptools pip wheel failed with error code 2
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/bilal/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/bilal/bench-repo/bench/commands/make.py”, line 19, in init
verbose=verbose, clone_from=clone_from)
File “/home/bilal/bench-repo/bench/utils.py”, line 46, in init
setup_env(bench_path=path)
File “/home/bilal/bench-repo/bench/utils.py”, line 130, in setup_env
exec_cmd(‘virtualenv -q {} -p {}’.format(‘env’, sys.executable), cwd=bench_path)
File “/home/bilal/bench-repo/bench/utils.py”, line 127, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: virtualenv -q env -p /usr/bin/python

`