Error executing any certbot-auto command fails while Installing python packages

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: (still not created) but my idea is to create it as clinicaponenet.isern.tv

I ran this command: (any certbot-auto) ./certbot-auto

It produced this output:
Installing Python packages…
Command “/opt/eff.org/certbot/venv/bin/python -u -c “import setuptools, tokenize;file=’/tmp/pip-0ZCHnZ-build/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /tmp/pip-JAN2p5-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/eff.org/certbot/venv/include/site/python2.7/pip” failed with error code 1 in /tmp/pip-0ZCHnZ-build/
Traceback (most recent call last):
File “/tmp/tmp.jSs1gdKFs6/pipstrap.py”, line 177, in
sys.exit(main())
File “/tmp/tmp.jSs1gdKFs6/pipstrap.py”, line 164, in main
check_output(command)
File “/usr/local/lib/python2.7/subprocess.py”, line 223, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command ‘[’/opt/eff.org/certbot/venv/bin/python’, ‘-m’, ‘pip’, ‘install’, ‘–no-index’, ‘–no-deps’, ‘-U’, ‘–no-cache-dir’, ‘/tmp/pipstrap-lCNQQw/pip-9.0.1.tar.gz’, ‘/tmp/pipstrap-lCNQQw/setuptools-40.6.3.zip’, ‘/tmp/pipstrap-lCNQQw/wheel-0.29.0.tar.gz’]’ returned non-zero exit status 1

My web server is (include version): Apache 2.4.25

The operating system my web server runs on is (include version): Debian 9

My hosting provider, if applicable, is: no idea

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
certbot 0.28.0
bash: certbot-auto: no se encontró la orden

1 Like

you can install certbot from apt, you shouldn't need certbot-auto. apt install certbot (notice: apache and nginx plugins are packaged by themselves in python3-certbot-apache and python3-certbot-nginx, install those you need, if any)

3 Likes

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