ERPNext Installation failed at the time of bench init

Hi guys,

I am installing ERPNext. I have successful run script. But When I am trying to install erpnext I got following error. Please help me to solve this.


sbkolate: ~ $ bench init frappe-bench
Already using interpreter /usr/bin/python
Cloning into ‘frappe’…
remote: Counting objects: 61402, done.
remote: Compressing objects: 100% (81/81), done.
remote: Total 61402 (delta 14), reused 0 (delta 0)
Receiving objects: 100% (61402/61402), 25.61 MiB | 4.77 MiB/s, done.
Resolving deltas: 100% (43430/43430), done.
Checking connectivity… done.
installing frappe
Compiling /home/sbkolate/frappe-bench/env/build/gunicorn/gunicorn/workers/ …
File “/home/sbkolate/frappe-bench/env/build/gunicorn/gunicorn/workers/”, line 64
yield from self.wsgi.close()
SyntaxError: invalid syntax

I have solved this using