Error installation fresh on ubuntu 14.04

TASK [init bench] **************************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“bench”, “init”, “/home /ubuntu/frappe-bench”, “–frappe-branch”, “master”], “delta”: “0:01:59.358211”, “end”: “2016-08-09 04:12:42.112544”, “failed”: true, “rc”: 1, “start”: “2016-08- 09 04:10:42.754333”, “stderr”: "INFO:bench.app:getting app frappe\nCloning into ‘frappe’…\nINFO:bench.app:installing frappe\n/home/ubuntu/frappe-bench/env/loc al/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.p y:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject N ame Indication) extension to TLS is not available on this platform. This may cau se the server to present an incorrect TLS certificate, which can cause validatio n failures. You can upgrade to a newer version of Python to solve this. For more information, see Advanced Usage - urllib3 2.2.0 documentation singwarning.\n SNIMissingWarning\n/home/ubuntu/frappe-bench/env/local/lib/pytho n2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:122: Insec urePlatformWarning: A true SSLContext object is not available. This prevents url lib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more info rmation, see Advanced Usage - urllib3 2.2.0 documentation tformwarning.\n InsecurePlatformWarning\nException:\nTraceback (most recent cal l last):\n File "/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packag es/pip/basecommand.py", line 215, in main\n status = self.run(options, args) \n File "/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/pip/c ommands/install.py", line 310, in run\n wb.build(autobuilding=True)\n File "/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/pip/wheel.py" , line 750, in build\n self.requirement_set.prepare_files(self.finder)\n Fil e "/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/pip/req/req_ set.py", line 370, in prepare_files\n ignore_dependencies=self.ignore_depend encies))\n File "/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packag es/pip/req/req_set.py", line 587, in _prepare_file\n session=self.session, h ashes=hashes)\n File "/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-p ackages/pip/download.py", line 810, in unpack_url\n hashes=hashes\n File " /home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/pip/download.py\ ", line 649, in unpack_http_url\n hashes)\n File "/home/ubuntu/frappe-bench /env/local/lib/python2.7/site-packages/pip/download.py", line 871, in _download _http_url\n _download_url(resp, link, content_file, hashes)\n File "/home/u buntu/frappe-bench/env/local/lib/python2.7/site-packages/pip/download.py", line 595, in _download_url\n hashes.check_against_chunks(downloaded_chunks)\n Fi le "/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/pip/utils/h ashes.py", line 46, in check_against_chunks\n for chunk in chunks:\n File \ “/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages/pip/download.py ", line 563, in written_chunks\n for chunk in chunks:\n File "/home/ubuntu /frappe-bench/env/local/lib/python2.7/site-packages/pip/download.py", line 552, in resp_read\n decode_content=False):\n File "/home/ubuntu/frappe-bench/en v/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/respon se.py", line 353, in stream\n data = self.read(amt=amt, decode_content=decod e_content)\n File "/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-pack ages/pip/_vendor/requests/packages/urllib3/response.py", line 310, in read\n data = self._fp.read(amt)\n File "/home/ubuntu/frappe-bench/env/local/lib/pyt hon2.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 54, in read \n self.__callback(self.__buf.getvalue())\n File "/home/ubuntu/frappe-bench /env/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/controller.py", line 275, in cache_response\n self.serializer.dumps(request, response, body= body),\n File "/home/ubuntu/frappe-bench/env/local/lib/python2.7/site-packages /pip/_vendor/cachecontrol/serialize.py", line 87, in dumps\n ).encode("utf8 "),\nMemoryError\nTraceback (most recent call last):\n File "/usr/local/bin/b ench", line 9, in \n load_entry_point(‘bench’, ‘console_scripts’, ‘b ench’)()\n File "/home/ubuntu/.bench/bench/cli.py", line 40, in cli\n benc h_command()\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", li ne 716, in call\n return self.main(*args, **kwargs)\n File "/usr/local/ lib/python2.7/dist-packages/click/core.py", line 696, in main\n rv = self.in voke(ctx)\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1060, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in inv oke\n return ctx.invoke(self.callback, **ctx.params)\n File "/usr/local/lib /python2.7/dist-packages/click/core.py", line 534, in invoke\n return callba ck(*args, **kwargs)\n File "/home/ubuntu/.bench/bench/commands/make.py", line 19, in init\n verbose=verbose, clone_from=clone_from)\n File "/home/ubuntu /.bench/bench/utils.py", line 56, in init\n get_app(frappe_path, branch=frap pe_branch, bench_path=path, build_asset_files=False, verbose=verbose)\n File " /home/ubuntu/.bench/bench/app.py", line 73, in get_app\n install_app(app=app _name, bench_path=bench_path, verbose=verbose)\n File "/home/ubuntu/.bench/ben ch/app.py", line 103, in install_app\n find_links=find_links))\n File "/ho me/ubuntu/.bench/bench/utils.py", line 130, in exec_cmd\n raise CommandFaile dError(cmd)\nbench.utils.CommandFailedError: /home/ubuntu/frappe-bench/env/bin/p ip install -q -e /home/ubuntu/frappe-bench/apps/frappe”, “stdout”: “Already usi ng interpreter /usr/bin/python\ninstalling frappe”, “stdout_lines”: [“Already us ing interpreter /usr/bin/python”, “installing frappe”], “warnings”: }
to retry, use: --limit @production/install.retry

@Justin_Lu can you even read what you have posted?

I think it is because of the SSL? However, i tried many ways but unable to resolve this.

I got the same error trying to install bench. I tried to install on ubuntu 14.04 and 16.04, both doesn’t work with same error.

I got bench installed, and these are the steps I perform before running "python install.py --develop --user frappe
"

apt install python-pip
apt install libssl-dev
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
pip install ‘requests[security]’