Try ERPNext Buy Support Partners Foundation

Unable to run bench

Hi im trying to install Bench using:
git clone https://github.com/frappe/bench bench-repo
pip install --user -e bench-repo

after this I’m unable to run bench.
and I get this message:
@localhost:~$ bench --version
Command 'bench' not found, but can be installed with:
sudo apt install ruby-active-model-serializers

Anyone that can help me out?

You need to be in the frappe-bench subdir to run bench (the subdir in which you installed)

cd ~/frappe-bench
bench start

hey @GreenFuels
you should uninstall the editable version and use the PyPI version instead. it’s pip install frappe-bench

If your shell can’t find bench that means it doesn’t exist in PATH. It should mostly be in your ~/.local/bin. Update your environment variable with that as well. This should work then.