Frappe 5 installation error

when i enter this command “bench init frappe-bench && cd frappe-bench”. i got following error

/home/indictrans/Documents/Frappe5/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:79: 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
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-RLKSbr-build
Error: None
Traceback (most recent call last):
  File "/home/indictrans/Documents/Frappe5/bin/bench", line 9, in <module>
    load_entry_point('bench==0.1', 'console_scripts', 'bench')()
  File "/home/indictrans/Documents/Frappe5/bench-repo/bench/cli.py", line 56, in cli
    bench()
  File "/home/indictrans/Documents/Frappe5/local/lib/python2.7/site-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/home/indictrans/Documents/Frappe5/local/lib/python2.7/site-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/home/indictrans/Documents/Frappe5/local/lib/python2.7/site-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/indictrans/Documents/Frappe5/local/lib/python2.7/site-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/indictrans/Documents/Frappe5/local/lib/python2.7/site-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/home/indictrans/Documents/Frappe5/bench-repo/bench/cli.py", line 161, in init
    no_auto_update=no_auto_update, frappe_path=frappe_path, frappe_branch=frappe_branch)
  File "/home/indictrans/Documents/Frappe5/bench-repo/bench/utils.py", line 53, in init
    setup_env(bench=path)
  File "/home/indictrans/Documents/Frappe5/bench-repo/bench/utils.py", line 84, in setup_env
    exec_cmd('./env/bin/pip -q install https://github.com/frappe/MySQLdb1/archive/MySQLdb-1.2.5-patched.tar.gz', cwd=bench)
  File "/home/indictrans/Documents/Frappe5/bench-repo/bench/utils.py", line 76, in exec_cmd
    subprocess.check_call(cmd, cwd=cwd, shell=True)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command './env/bin/pip -q install https://github.com/frappe/MySQLdb1/archive/MySQLdb-1.2.5-patched.tar.gz' returned non-zero exit status 1

Thanx,
Shraddha Ranjane

Please use code blocks to post console output. Also, the trace you’re looking for is in /tmp/pip-RLKSbr-build (reading from the output you posted)

Hi,shraddha,I’ve got this warning before…
You could try upgrade your Python to 2.7.9, I guess your version is not 2.7.9.