Error while installing app

If you are running the latest bench:

run bench install-app erpnext

see bench help for the latest commands.