Bench new-site mysite gives "frappe app is not installed" error

Trace back log as following:

frappe app is not installed. Run the following command to install frappe
bench get-app GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
/bin/sh: 1: /home/yu/git/frappe-bench/env/bin/frappe: not found
Traceback (most recent call last):
File “./env/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/yu/git/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/home/yu/git/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/home/yu/git/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/home/yu/git/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/yu/git/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/yu/git/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/yu/git/bench-repo/bench/commands/make.py”, line 56, in new_site
new_site(site, mariadb_root_password=mariadb_root_password, admin_password=admin_password)
File “/home/yu/git/bench-repo/bench/utils.py”, line 150, in new_site
), cwd=os.path.join(bench_path, ‘sites’))
File “/home/yu/git/bench-repo/bench/utils.py”, line 127, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: /home/yu/git/frappe-bench/env/bin/frappe mysite --install b7b324d548

I didn’t find frappe command in env/bin/
And I’m installing erpnext by clone all repository into frappe-bench/apps/. And everything goes well and ./env/bin/pip install -e apps/erpnext also works. Same is done to frappe installation.
Please suggest what to check next.

Question2:
I saw from frappe/bench user guide that there is an option “bench install-app”. But somehow type bench won’t give me this option. Is it obsolete?

try to run bench command inside /home/yu/git/frappe-bench/

I did run bench command in frappe-bench created.

Did you get solution for this? I am also getting same prolem. When I tried bench new-site sitename it is giving following error:
INFO:bench.utils:creating new site mysite
frappe app is not installed. Run the following command to install frappe
bench get-app GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
INFO:bench.utils:/home/stellapps/Desktop/ERP/dairyerp/frappe-bench/env/bin/frappe mysite --install b7b324d548
/bin/sh: 1: /home/stellapps/Desktop/ERP/dairyerp/frappe-bench/env/bin/frappe: not found
Traceback (most recent call last):
File “/home/stellapps/Desktop/ERP/dairyerp/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/stellapps/Desktop/ERP/dairyerp/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/home/stellapps/Desktop/ERP/dairyerp/local/lib/python2.7/site-packages/click/core.py”, line 829, in call
return self.main(*args, **kwargs)
File “/home/stellapps/Desktop/ERP/dairyerp/local/lib/python2.7/site-packages/click/core.py”, line 782, in main
rv = self.invoke(ctx)
File “/home/stellapps/Desktop/ERP/dairyerp/local/lib/python2.7/site-packages/click/core.py”, line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/stellapps/Desktop/ERP/dairyerp/local/lib/python2.7/site-packages/click/core.py”, line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/stellapps/Desktop/ERP/dairyerp/local/lib/python2.7/site-packages/click/core.py”, line 610, in invoke
return callback(*args, **kwargs)
File “/home/stellapps/Desktop/ERP/dairyerp/bench-repo/bench/commands/make.py”, line 58, in new_site
new_site(site, mariadb_root_password=mariadb_root_password, admin_password=admin_password)
File “/home/stellapps/Desktop/ERP/dairyerp/bench-repo/bench/utils.py”, line 176, in new_site
), cwd=os.path.join(bench_path, ‘sites’))
File “/home/stellapps/Desktop/ERP/dairyerp/bench-repo/bench/utils.py”, line 140, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: /home/stellapps/Desktop/ERP/dairyerp/frappe-bench/env/bin/frappe mysite --install b7b324d548