To avoid installing frappe-bench v15 using
pip install frappe-bench --break-system-packages
used the method python venv
all steps went fine
but
(myenv) frappe@localhost:~/frappe-bench$ bench setup production frappe
WARN: superuser privileges required for this command
when sudo given
(myenv) frappe@localhost:~/frappe-bench$ sudo bench setup production frappe
sudo: bench: command not found
got this error
any clues to overcome it