I am running a CentOS 6.5 with Apache. I downloaded the certbot-auto and when I ran the command it does install few things but failed at the end with this error
Error: Command ‘[’/opt/eff.org/certbot/venv/bin/python3’, ‘-Im’, ‘ensurepip’, ‘–upgrade’, ‘–default-pip’]’ returned non-zero exit status 1
This is the complete error log
Bootstrapping dependencies for RedHat-based OSes that will use Python3… (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
yum is hashed (/usr/bin/yum)
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
- base: centos.bhs.mirrors.ovh.net
- epel: fedora-epel.mirrors.tds.net
- extras: mirror2.evolution-host.com
- rpmforge: mirror.team-cymru.org
- updates: mirror2.evolution-host.com
Package gcc-4.4.7-18.el6.x86_64 already installed and latest version
Package augeas-libs-1.0.0-10.el6.x86_64 already installed and latest version
Package openssl-1.0.1e-57.el6.x86_64 already installed and latest version
Package openssl-devel-1.0.1e-57.el6.x86_64 already installed and latest version
Package libffi-devel-3.0.5-3.2.el6.x86_64 already installed and latest version
Package redhat-rpm-config-9.0.3-51.el6.centos.noarch already installed and latest version
Package ca-certificates-2017.2.14-65.0.1.el6_9.noarch already installed and latest version
Package python34-3.4.5-4.el6.x86_64 already installed and latest version
Package python34-devel-3.4.5-4.el6.x86_64 already installed and latest version
Package python34-tools-3.4.5-4.el6.x86_64 already installed and latest version
Package 1:mod_ssl-2.2.15-60.el6.centos.6.x86_64 already installed and latest version
Nothing to do
Bootstrapping dependencies for RedHat-based OSes that will use Python3… (you can skip this with --no-bootstrap)
yum is /usr/bin/yum
yum is hashed (/usr/bin/yum)
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile - base: centos.bhs.mirrors.ovh.net
- epel: mirror.math.princeton.edu
- extras: mirror2.evolution-host.com
- rpmforge: mirror.team-cymru.org
- updates: mirror2.evolution-host.com
Package gcc-4.4.7-18.el6.x86_64 already installed and latest version
Package augeas-libs-1.0.0-10.el6.x86_64 already installed and latest version
Package openssl-1.0.1e-57.el6.x86_64 already installed and latest version
Package openssl-devel-1.0.1e-57.el6.x86_64 already installed and latest version
Package libffi-devel-3.0.5-3.2.el6.x86_64 already installed and latest version
Package redhat-rpm-config-9.0.3-51.el6.centos.noarch already installed and latest version
Package ca-certificates-2017.2.14-65.0.1.el6_9.noarch already installed and latest version
Package python34-3.4.5-4.el6.x86_64 already installed and latest version
Package python34-devel-3.4.5-4.el6.x86_64 already installed and latest version
Package python34-tools-3.4.5-4.el6.x86_64 already installed and latest version
Package 1:mod_ssl-2.2.15-60.el6.centos.6.x86_64 already installed and latest version
Nothing to do
Creating virtual environment…
Error: Command ‘[’/opt/eff.org/certbot/venv/bin/python3’, ‘-Im’, ‘ensurepip’, ‘–upgrade’, ‘–default-pip’]’ returned non-zero exit status 1