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., 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

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

It produced this output:
Installing Python packages…
Command “/opt/ -u -c “import setuptools, tokenize;file=’/tmp/pip-0ZCHnZ-build/’;f=getattr(tokenize, ‘open’, open)(file);’\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/” failed with error code 1 in /tmp/pip-0ZCHnZ-build/
Traceback (most recent call last):
File “/tmp/tmp.jSs1gdKFs6/”, line 177, in
File “/tmp/tmp.jSs1gdKFs6/”, line 164, in main
File “/usr/local/lib/python2.7/”, line 223, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command ‘[’/opt/’, ‘-m’, ‘pip’, ‘install’, ‘–no-index’, ‘–no-deps’, ‘-U’, ‘–no-cache-dir’, ‘/tmp/pipstrap-lCNQQw/pip-9.0.1.tar.gz’, ‘/tmp/pipstrap-lCNQQw/’, ‘/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)


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