WARN: Command not being executed in bench directory
This says it all. Execute all bench commands such as update, build, etc. from the frappe-bench directory.
You are running this currently from the user’s directory. Check first where the frappe-bench directory is. Run ls to list all files and directories from the current one.
Just as @kennethsequeira mentioned. I’d like to add that if you aren’t sure of the location of your bench, you can also use bench find . to search for benches from your current working directory recursively.
Note: bench find is to be used only if you have a lot of benches spread across different directories. Conventionally, benches are named frappe-bench and created under your home directory
That means your system is using the editable install although you may have installed the PyPI package over that. Remove all traces of the editable install as well.