installing frappe
INFO:bench.app:installing frappe
INFO:bench.utils:frappe_bench/env/bin/pip install -q -e frappe_bench/apps/frappe
ERROR: Exception:
Traceback (most recent call last):
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_vendor/urllib3/response.py”, line 397, in _error_catcher
yield
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_vendor/urllib3/response.py”, line 479, in read
data = self._fp.read(amt)
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_vendor/cachecontrol/filewrapper.py”, line 62, in read
data = self.__fp.read(amt)
File “/usr/lib/python3.5/http/client.py”, line 448, in read
n = self.readinto(b)
File “/usr/lib/python3.5/http/client.py”, line 488, in readinto
n = self.fp.readinto(b)
File “/usr/lib/python3.5/socket.py”, line 575, in readinto
return self._sock.recv_into(b)
File “/usr/lib/python3.5/ssl.py”, line 929, in recv_into
return self.read(nbytes, buffer)
File “/usr/lib/python3.5/ssl.py”, line 791, in read
return self._sslobj.read(len, buffer)
File “/usr/lib/python3.5/ssl.py”, line 575, in read
v = self._sslobj.read(len, buffer)
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_internal/cli/base_command.py”, line 188, in main
status = self.run(options, args)
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_internal/commands/install.py”, line 345, in run
resolver.resolve(requirement_set)
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_internal/legacy_resolve.py”, line 196, in resolve
self._resolve_one(requirement_set, req)
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_internal/legacy_resolve.py”, line 359, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_internal/legacy_resolve.py”, line 307, in _get_abstract_dist_for
self.require_hashes
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_internal/operations/prepare.py”, line 199, in prepare_linked_requirement
progress_bar=self.progress_bar
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_internal/download.py”, line 1064, in unpack_url
progress_bar=progress_bar
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_internal/download.py”, line 924, in unpack_http_url
progress_bar)
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_internal/download.py”, line 1152, in _download_http_url
_download_url(resp, link, content_file, hashes, progress_bar)
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_internal/download.py”, line 861, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_internal/utils/hashes.py”, line 75, in check_against_chunks
for chunk in chunks:
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_internal/download.py”, line 829, in written_chunks
for chunk in chunks:
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_internal/download.py”, line 818, in resp_read
decode_content=False):
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_vendor/urllib3/response.py”, line 531, in stream
data = self.read(amt=amt, decode_content=decode_content)
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_vendor/urllib3/response.py”, line 496, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File “/usr/lib/python3.5/contextlib.py”, line 77, in exit
self.gen.throw(type, value, traceback)
File “/opt/erpnext/frappe_bench/env/lib/python3.5/site-packages/pip/_vendor/urllib3/response.py”, line 402, in _error_catcher
raise ReadTimeoutError(self._pool, None, ‘Read timed out.’)
pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Read timed out.
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/opt/erpnext/bench/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/opt/erpnext/bench/bench/commands/make.py”, line 31, in init
python = python)
File “/opt/erpnext/bench/bench/utils.py”, line 75, in init
get_app(frappe_path, branch=frappe_branch, bench_path=path, build_asset_files=False, verbose=verbose)
File “/opt/erpnext/bench/bench/app.py”, line 136, in get_app
install_app(app=app_name, bench_path=bench_path, verbose=verbose)
File “/opt/erpnext/bench/bench/app.py”, line 172, in install_app
find_links=find_links))
File “/opt/erpnext/bench/bench/utils.py”, line 161, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: frappe_bench/env/bin/pip install -q -e frappe_bench/apps/frappe