Don’t know what just happened bench command was working fine but suddenly throwing this error
File "/Library/Frameworks/Python.framework/Versions/3.11/bin/bench", line 5, in <module>
from bench.cli import cli
ModuleNotFoundError: No module named 'bench'
Very likely a permissions error at host level.
As which user are you running this?
As which user did you run the installation?
You should NOT use root user - it will expose your entire system to some very bad risks. I recommend re-installing as non-root user.
Specifically, NPM will detect that you are running as root and which can cause strange behaviour (like the one you are seeing)