Found the solution. bench was installed in the current user but. current user was not in the bash.
Example:-
Username:- erpuser
when i was logged in with erp user and run command.
echo $PATH
The output was.
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
It has missing this.
/home/erpuser/.local/bin
So i run:
export $PATH=/home/erpuser/.local/bin
Now i run echo $PATH again then output:
/home/erpuser/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
And then run “bench”. It starts working without any use of sudo. Because it is installed in /home/erpuser/.local/bin for user erpuser
I hope this will help someone else to solve same issue.