Issue while using Easy Install script

I cant install ERPNexts while using Easy Install script.
Server Provider: Contabo
OS: Ubuntu 18.04


frappe@vmi533097:~$ python3 --production
python3: can't open file '': [Errno 2] No such file or directory
frappe@vmi533097:~$ wget
--2021-02-25 13:48:06--
Resolving (,,, ...
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17981 (18K) [text/plain]
Saving to: ‘’                              100%[============================================================================>]  17.56K  --.-KB/s    in 0s      

2021-02-25 13:48:06 (48.9 MB/s) - ‘’ saved [17981/17981]

frappe@vmi533097:~$ python3 --production
Please run this script as a non-root user with sudo privileges
frappe@vmi533097:~$ su
su: Authentication failure
frappe@vmi533097:~$ su root
root@vmi533097:/home/frappe# python3 --production
Logs are saved under /tmp/logs/easy-install__2021-02-25__12-49.log
E: Sub-process /usr/bin/dpkg returned an error code (1)
Traceback (most recent call last):
  File "", line 487, in <module>
  File "", line 156, in install_prerequisites
    'sudo yum install -y epel-release redhat-lsb-core git python-setuptools python-devel openssl-devel libffi-devel'
  File "", line 141, in run_os_command
    returncode = subprocess.check_call(command, shell=True, stdout=log_stream, stderr=sys.stderr)
  File "/usr/lib/python3.6/", line 311, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'sudo apt-get install -y git build-essential python3-setuptools python3-dev libffi-dev' returned non-zero exit status 100.

What happens when you try running this package installation manually?

Might just be some env vars that are not set… try using

su - root

The “-” forces the environment to update (so I’m told)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.