Easy Install Error - ubuntu 16.04


I am having some issue when installing ERPnext on ubuntu 16.04… Is this related with the latest V12 update?

I used to install as per https://tech.heliconia.in/erpnext/install-erpnext-in-ubuntu/ advise, it always works fine but today I cannot install…

Here is the traceback error log:

TASK [bench : python3 bench init for production] *******************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["bench", "init", "/home/frappe/frappe-bench", "--frappe-path", "https://github.com/frappe/frappe", "--frappe-branch", "--python", "python3"], "delta": "0:00:00.686173", "end": "2019-07-23 01:52:36.981935", "msg": "non-zero return code", "rc": 2, "start": "2019-07-23 01:52:36.295762", "stderr": "Usage: bench init [OPTIONS] PATH\nTry \"bench init --help\" for help.\n\nError: Got unexpected extra argument (python3)", "stderr_lines": ["Usage: bench init [OPTIONS] PATH", "Try \"bench init --help\" for help.", "", "Error: Got unexpected extra argument (python3)"], "stdout": "", "stdout_lines": []}

PLAY RECAP *********************************************************************
localhost                  : ok=65   changed=13   unreachable=0    failed=1    skipped=53   rescued=0    ignored=0

Traceback (most recent call last):
  File "install.py", line 416, in <module>
  File "install.py", line 135, in install_bench
    run_playbook('site.yml', sudo=True, extra_vars=extra_vars)
  File "install.py", line 330, in run_playbook
    success = subprocess.check_call(args, cwd=os.path.join(cwd, 'playbooks'))
  File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'site.yml', '-e', '@/tmp/extra_vars.json', '--become', '--become-user=frappe']' returned non-zero exit status 2

Anyone having the same issue?

try installing python 2.7


try this