I have already installed frappe app. and then trying to create new-site using bench new-site mysite command. i get 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