Problem during install

Hi,

I am installing erpnext using the instruction on the page below. I am using ubuntu 14.04 64 bit and python 2.7.6.

The command i ran was.
wget <git_path>/frappe/bench/master/playbooks/install.py
sudo python install.py --production

I am getting the error below

TASK [setup] *******************************************************************
ok: [localhost]

TASK [Check whether a site exists] *********************************************
ok: [localhost]

TASK [Create new site] *********************************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“bench”, “new-site”, “site1.local”, “–admin-password”, “lxb2msn@”, “–mariadb-root-password”, “lxb2msn@”], “delta”: “0:00:00.567233”, “end”: “2017-01-11 12:14:10.221139”, “failed”: true, “rc”: 1, “start”: “2017-01-11 12:14:09.653906”, “stderr”: “INFO:bench.utils:creating new site site1.local\n/bin/sh: 1: /home/frappe/frappe-bench/env/bin/frappe: not found\nTraceback (most recent call last):\n File “/usr/local/bin/bench”, line 11, in \n load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()\n File “/home/frappe/.bench/bench/cli.py”, line 40, in cli\n bench_command()\n File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 722, in call\n return self.main(*args, **kwargs)\n File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 697, in main\n rv = self.invoke(ctx)\n File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1066, 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 895, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 535, in invoke\n return callback(*args, **kwargs)\n File “/home/frappe/.bench/bench/commands/make.py”, line 56, in new_site\n new_site(site, mariadb_root_password=mariadb_root_password, admin_password=admin_password)\n File “/home/frappe/.bench/bench/utils.py”, line 150, in new_site\n ), cwd=os.path.join(bench_path, ‘sites’))\n File “/home/frappe/.bench/bench/utils.py”, line 127, in exec_cmd\n raise CommandFailedError(cmd)\nbench.utils.CommandFailedError: /home/frappe/frappe-bench/env/bin/frappe site1.local --install 1bd3e0294d --root_password lxb2msn@ --admin_password lxb2msn@”, “stdout”: “frappe app is not installed. Run the following command to install frappe\nbench get-app https://github.com/frappe/frappe.git”, “stdout_lines”: [“frappe app is not installed. Run the following command to install frappe”, “bench get-app https://github.com/frappe/frappe.git”], “warnings”: []}

NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @production/install.retry

PLAY RECAP *********************************************************************
localhost : ok=47 changed=9 unreachable=0 failed=1

Traceback (most recent call last):
File “install.py”, line 351, in
install_bench(args)
File “install.py”, line 111, in install_bench
run_playbook(‘production/install.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 301, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/subprocess.py”, line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘production/install.yml’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=frappe’]’ returned non-zero exit status 2

wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
then
sudo python install.py --develop