Apps/erpnext' returned non-zero exit status 1

i just run command

bench get-app erpnext

and i get this error

Cloning into ‘erpnext’…
remote: Counting objects: 134261, done.
remote: Compressing objects: 100% (288/288), done.
remote: Total 134261 (delta 154), reused 0 (delta 0), pack-reused 133973
Receiving objects: 100% (134261/134261), 51.53 MiB | 349.00 KiB/s, done.
Resolving deltas: 100% (97406/97406), done.
Checking connectivity… done.
installing erpnext
/home/ahmedash/frappe-bench/env/local/lib/python2.7/site-packages/pip/vendor/requests/packages/urllib3/util/ InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see
Command “python egg_info” failed with error code 1 in /tmp/pip-build-1pAAr1/frappe
Error: None
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “/home/ahmedash/bench-repo/bench/”, line 55, in cli
File “/usr/local/lib/python2.7/dist-packages/click/”, line 664, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 644, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 991, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/”, line 837, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/”, line 464, in invoke
return callback(*args, **kwargs)
File “/home/ahmedash/bench-repo/bench/”, line 167, in get_app
_get_app(name, git_url, branch=branch)
File “/home/ahmedash/bench-repo/bench/”, line 54, in get_app
install_app(app, bench=bench)
File “/home/ahmedash/bench-repo/bench/”, line 78, in install_app
File “/home/ahmedash/bench-repo/bench/”, line 72, in exec_cmd
subprocess.check_call(cmd, cwd=cwd, shell=True)
File “/usr/lib/python2.7/”, line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘./env/bin/pip install -q -e ./apps/erpnext’ returned non-zero exit status 1

any help ?

Looks like pip is not installed.

Have you tried running the great install script available on the Erpnext github page?

Try installing python and pip.

1 Like

i installed every thing correct as i think because i followed the instructions of install

Seems like an SSL config error (?)

could you tell me how to solve this problem ?

Seems to be a pip error. Googled and found this.

1 Like