bench.utils.CommandFailedError: frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe

Hello,
I am trying to install frappe v6.27.16 but getting following error after bench init command.

Traceback (most recent call last):
File “/home/user/kmohini/indic_attendance/bin/bench”, line 9, in
load_entry_point(‘bench==3.0.0’, ‘console_scripts’, ‘bench’)()
File “/home/user/kmohini/indic_attendance/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/home/user/kmohini/indic_attendance/local/lib/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/home/user/kmohini/indic_attendance/local/lib/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/home/user/kmohini/indic_attendance/local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/user/kmohini/indic_attendance/local/lib/python2.7/site-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/user/kmohini/indic_attendance/local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/user/kmohini/indic_attendance/bench-repo/bench/commands/make.py”, line 17, in init
no_auto_update=no_auto_update, frappe_path=frappe_path, frappe_branch=frappe_branch, verbose=verbose)
File “/home/user/kmohini/indic_attendance/bench-repo/bench/utils.py”, line 62, in init
get_app(‘frappe’, frappe_path, branch=frappe_branch, bench=path, build_asset_files=False, verbose=verbose)
File “/home/user/kmohini/indic_attendance/bench-repo/bench/app.py”, line 57, in get_app
install_app(app, bench=bench, verbose=verbose)
File “/home/user/kmohini/indic_attendance/bench-repo/bench/app.py”, line 83, in install_app
find_links=find_links))
File “/home/user/kmohini/indic_attendance/bench-repo/bench/utils.py”, line 99, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe

Please help.

Thanks,
Mohini

There might be earlier errors of that command. Can you share the full trace?

This is the full Traceback :

fatal: unable to access ‘GitHub - frappe/python-pdfkit: Wkhtmltopdf python wrapper to convert html to pdf’: Failed to connect to github.com port 443: Connection timed out
Command “git clone -q GitHub - frappe/python-pdfkit: Wkhtmltopdf python wrapper to convert html to pdf /home/user/kmohini/indic_hr/frappe-bench/env/src/pdfkit” failed with error code 128 in None
Traceback (most recent call last):
File “/home/user/kmohini/indic_hr/bin/bench”, line 9, in
load_entry_point(‘bench==3.0.0’, ‘console_scripts’, ‘bench’)()
File “/home/user/kmohini/indic_hr/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/home/user/kmohini/indic_hr/local/lib/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/home/user/kmohini/indic_hr/local/lib/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/home/user/kmohini/indic_hr/local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/user/kmohini/indic_hr/local/lib/python2.7/site-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/user/kmohini/indic_hr/local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/user/kmohini/indic_hr/bench-repo/bench/commands/make.py”, line 17, in init
no_auto_update=no_auto_update, frappe_path=frappe_path, frappe_branch=frappe_branch, verbose=verbose)
File “/home/user/kmohini/indic_hr/bench-repo/bench/utils.py”, line 56, in init
setup_env(bench=path)
File “/home/user/kmohini/indic_hr/bench-repo/bench/utils.py”, line 106, in setup_env
exec_cmd(‘./env/bin/pip -q install -e git+https://github.com/frappe/python-pdfkit.git#egg=pdfkit’, cwd=bench)
File “/home/user/kmohini/indic_hr/bench-repo/bench/utils.py”, line 99, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: ./env/bin/pip -q install -e git+https://github.com/frappe/python-pdfkit.git#egg=pdfkit

Thanks.

check this?