Issue in Manual Installation bench - Bench init && cd frappe-bench

bench init frappe-bench && cd frappe-bench
Already using interpreter /usr/bin/python
INFO:bench.app:getting app frappe
Cloning into ‘frappe’…
remote: Counting objects: 1757, done.
remote: Compressing objects: 100% (1636/1636), done.
remote: Total 1757 (delta 200), reused 686 (delta 70), pack-reused 0
Receiving objects: 100% (1757/1757), 11.10 MiB | 213.00 KiB/s, done.
Resolving deltas: 100% (200/200), done.
Checking connectivity… done.
installing frappe
INFO:bench.app:installing frappe
Exception:
Traceback (most recent call last):
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/commands/install.py”, line 310, in run
wb.build(autobuilding=True)
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/wheel.py”, line 750, in build
self.requirement_set.prepare_files(self.finder)
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/req/req_set.py”, line 370, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/req/req_set.py”, line 587, in _prepare_file
session=self.session, hashes=hashes)
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/download.py”, line 810, in unpack_url
hashes=hashes
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/download.py”, line 649, in unpack_http_url
hashes)
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/download.py”, line 871, in _download_http_url
_download_url(resp, link, content_file, hashes)
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/download.py”, line 595, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/utils/hashes.py”, line 46, in check_against_chunks
for chunk in chunks:
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/download.py”, line 563, in written_chunks
for chunk in chunks:
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/download.py”, line 552, in resp_read
decode_content=False):
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py”, line 353, in stream
data = self.read(amt=amt, decode_content=decode_content)
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py”, line 320, in read
flush_decoder = True
File “/usr/lib/python2.7/contextlib.py”, line 35, in exit
self.gen.throw(type, value, traceback)
File “/home/more/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py”, line 242, in _error_catcher
raise ReadTimeoutError(self._pool, None, ‘Read timed out.’)
ReadTimeoutError: HTTPSConnectionPool(host=‘pypi.python.org’, port=443): Read timed out.
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/more/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/more/bench-repo/bench/commands/make.py”, line 19, in init
verbose=verbose, clone_from=clone_from)
File “/home/more/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/more/bench-repo/bench/app.py”, line 73, in get_app
install_app(app=app_name, bench_path=bench_path, verbose=verbose)
File “/home/more/bench-repo/bench/app.py”, line 103, in install_app
find_links=find_links))
File “/home/more/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

I have notice in the logs its a read time out. Can you run the command again. I think its just a connection problem.

Chris
Bai Web and Mobile Labs
https://bai.ph