Can not install new app


I am already installed erpnext.

When i try to install new app it shows error.I was trying to install agricultural puposes app using command

bench get-app farm

it shows error

ImportError: No module named farm
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==2.0.0’, ‘console_scripts’, ‘bench’)()
File “/home/access/bench-repo/bench/”, line 40, in cli
File “/usr/local/lib/python2.7/dist-packages/click/”, line 716, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 696, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/”, line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 534, in invoke
return callback(*args, **kwargs)
File “/home/access/bench-repo/bench/commands/”, line 28, in get_app
get_app(name, git_url, branch=branch)
File “/home/access/bench-repo/bench/”, line 59, in get_app
File “/home/access/bench-repo/bench/”, line 139, in build_assets
run_frappe_cmd(‘build’, bench=bench)
File “/home/access/bench-repo/bench/”, line 468, in run_frappe_cmd
raise CommandFailedError(args)
bench.utils.CommandFailedError: (‘build’,)

Hi @renjukumar

Try this

bench get-app farm_management

It is working.Please let me know what is the issue.should i follow anything for app name

I’ve visited your repo and get the app name from here

Your app name is farm_management not farm and the correct command is

bench get-app APP_NAME GIT_LINK
so it will be
bench get-app farm_management

Thank you

1 Like