ERPNext Installation Error on Production

Hi All,

I’m trying to install ERPNext but it was throwing below error:

erp@erp-Latitude-3440:~$ sudo python install.py --production

Hit:1 Index of /ubuntu xenial InRelease
Hit:2 Index of /ubuntu xenial-updates InRelease
Hit:3 Index of /ubuntu xenial-backports InRelease
Get:4 Index of /ubuntu xenial-security InRelease [109 kB]
Fetched 109 kB in 2s (36.9 kB/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package libssl1.0-dev
E: Couldn’t find any package by glob ‘libssl1.0-dev’
E: Couldn’t find any package by regex ‘libssl1.0-dev’
Traceback (most recent call last):
File “install.py”, line 413, in
install_bench(args)
File “install.py”, line 21, in install_bench
‘sudo yum install -y epel-release redhat-lsb-core git python-setuptools python-devel openssl-devel libffi-devel’
File “install.py”, line 226, in run_os_command
returncode = subprocess.check_call(command, shell=True)
File “/usr/lib/python2.7/subprocess.py”, line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘sudo apt-get install -y git build-essential python3-setuptools python3-dev libffi-dev libssl1.0-dev’ returned non-zero exit status 100

Thanks,
Raghu.

Which Version you want to install ?

In ubuntu 16.04, I have resolved that issue.
Thanks for your support @suraj.jahagirdar

we also encounter the same issue Ubuntu 16.04

Try:

bench setup requirements

@raghu561 how did you resolve the issue? I still having a problem installing the ERPNext in Ubuntu 16.04

can you share the logs ?