Error While creating new site

theara@theara-VirtualBox:~$ bench frappe library --install_app library_management
frappe app is not installed. Run the following command to install frappe
bench get-app frappe GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “/home/theara/bench-repo/bench/cli.py”, line 42, in cli
return old_frappe_cli()
File “/home/theara/bench-repo/bench/cli.py”, line 91, in old_frappe_cli
os.execv(f, [f] + sys.argv[2:])
OSError: [Errno 2] No such file or directory

@tuysotheara I think you are on v5 so frappe is now not there, so try this:

bench install-app library_management

or

bench get-app library_management https://github.com/frappe/library_management

So how can I downgrade to get frappe working?

The commands are changed a bit,
check bench --help from frappe-bench dir