Erpnext installation issue

Hi all,

I am trying to install ERPNext in my system Ubuntu 16.04 by following the commands,
sudo python --develop

Getting a error like below.
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Traceback (most recent call last):
File “”, line 386, in
File “”, line 21, in install_bench
‘sudo yum install -y epel-release redhat-lsb-core git python-setuptools python-devel openssl-devel libffi-devel’
File “”, line 220, in run_os_command
returncode = subprocess.check_call(command, shell=True)
File “/usr/lib/python2.7/”, line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘sudo apt-get install -y git build-essential python-setuptools python-dev libffi-dev libssl-dev’ returned non-zero exit status 100

Kindly do needful.


Follow these exact instructions and you should be fine

1 Like

Again getting below error,

Traceback (most recent call last):
File “”, line 387, in
File “”, line 96, in install_bench
run_playbook(‘create_user.yml’, extra_vars=extra_vars)
File “”, line 325, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/”, line 536, in check_call
retcode = call(*popenargs, **kwargs)
File “/usr/lib/python2.7/”, line 523, in call
return Popen(*popenargs, **kwargs).wait()
File “/usr/lib/python2.7/”, line 711, in init
errread, errwrite)
File “/usr/lib/python2.7/”, line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory: ‘/home/aravind/bench/playbooks’

kindly do needful


I would suggest you start from a fresh install. I did a clean install on Ubuntu 16.04 without any issues at all, therefore, I am guessing there may be some installations that have not been done properly prior.


Yes, you mean fresh OS installation. I did like that only. How to solve this?


Not sure I can guide you beyond what I have shown, since I’ve done this installaton many times and have never had any issues.

What is the OS you are installing on, Ubuntu, CentOS, Debian or other and which version. Provide more detail.

Ubuntu 16.04

Based on past references, its probable that you are installing on top of an existing install.

If you are installing on a VM, create a new one and start over
If you are install on Cloud, same thing, trash/delete the current one and start over.

For ideas to clarify where your install goes off the tracks, search up the numerous install help requests of others.