Bench: command not found (only in bench setup production)

I installed ERPNEXT successfully , but when try to run sudo bench setup production it give
sudo: bench: command not found , but with bench start bench update working normally
(Note: it Ubuntu container 184 on Ubuntu )

1 Like

… and you have to run all bench commands from inside the folder bench is being installed to (on instances installed via the easy install script this will be named frappe-bench)

thanks solved by install from command : sudo pip install -e bench-repo