Problem in installing ERPNext

Hello
I am installing ERPNext using eacsy way. But I am getting this error.
Adding ubuntu mariadb repo
Installing packages for Ubuntu. This might take time…
Installing wkhtmltopdf

  • Stopping MariaDB database server mysqld [ OK ]
  • Starting MariaDB database server mysqld [ OK ]
  • Checking for corrupt, not cleanly closed and upgrade needing tables.
    Adding frappe user
    Installing frappe-bench
    Already using interpreter /usr/bin/python
    /home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
    SNIMissingWarning
    /home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
    InsecurePlatformWarning
    /home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
    InsecurePlatformWarning
    INFO:bench.app:getting app frappe
    Cloning into ‘frappe’…
    INFO:bench.app:installing frappe
    /home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
    SNIMissingWarning
    /home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
    InsecurePlatformWarning
    Exception:
    Traceback (most recent call last):
    File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/basecommand.py”, line 209, in main
    status = self.run(options, args)
    File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/commands/install.py”, line 310, in run
    wb.build(autobuilding=True)
    File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/wheel.py”, line 748, in build
    self.requirement_set.prepare_files(self.finder)
    File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/req/req_set.py”, line 360, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
    File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/req/req_set.py”, line 577, in _prepare_file
    session=self.session, hashes=hashes)
    File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/download.py”, line 810, in unpack_url
    hashes=hashes
    File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/download.py”, line 649, in unpack_http_url
    hashes)
    File “/home/frappe/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/frappe/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/frappe/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/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/download.py”, line 563, in written_chunks
    for chunk in chunks:
    File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/download.py”, line 552, in resp_read
    decode_content=False):
    File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py”, line 344, in stream
    data = self.read(amt=amt, decode_content=decode_content)
    File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/response.py”, line 301, in read
    data = self._fp.read(amt)
    File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/filewrapper.py”, line 54, in read
    self.__callback(self.__buf.getvalue())
    File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/controller.py”, line 275, in cache_response
    self.serializer.dumps(request, response, body=body),
    File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/serialize.py”, line 87, in dumps
    ).encode(“utf8”),
    MemoryError
    installing frappe
    Traceback (most recent call last):
    File “/usr/local/bin/bench”, line 9, in
    load_entry_point(‘bench==0.0.0’, ‘console_scripts’, ‘bench’)()
    File “/home/frappe/bench-repo/bench/cli.py”, line 60, in cli
    bench()
    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/frappe/bench-repo/bench/cli.py”, line 166, in init
    no_auto_update=no_auto_update, frappe_path=frappe_path, frappe_branch=frappe_branch, verbose=verbose)
    File “/home/frappe/bench-repo/bench/utils.py”, line 72, in init
    get_app(‘frappe’, frappe_path, branch=frappe_branch, bench=path, build_asset_files=False, verbose=verbose)
    File “/home/frappe/bench-repo/bench/app.py”, line 54, in get_app
    install_app(app, bench=bench, verbose=verbose)
    File “/home/frappe/bench-repo/bench/app.py”, line 80, in install_app
    find_links=find_links))
    File “/home/frappe/bench-repo/bench/utils.py”, line 105, in exec_cmd
    raise CommandFailedError(cmd)
    bench.utils.CommandFailedError: frappe-bench/env/bin/pip install -q -e frappe-bench/apps/frappe

It would help if you could post which version of Ubuntu you are running this on, because the easy setup script checks the version and executes different statements according to which version.

Looking at the script and the underlying repositories, it looks to me like it would be best run on Trusty.

I am using 14.4 version of ubuntu