Ubuntu 18.04.03, just spun up…
Using apt repos and packages:
ppa:certbot/certbot
python-certbot-apache python-pip python3-pip
pip install certbot-dns-digitalocean
pip3 install certbot-dns-digitalocean
pip
and pip3
each/both every wayThen, each of these…
certbot certonly --dns-digitalocean --dns-digitalocean-credentials /path/to/digitalocean/apikey...
certbot --apache certonly...
certbot --manual certonly --preferred-challenges=dns...
Returns the error:
pkg_resources.VersionConflict: (acme 0.31.0 (/usr/lib/python3/dist-packages), Requirement.parse('acme>=0.40.0'))
Is the certbot-dns-digitalocean pip package just out of date? I can’t find anyone else asking.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
It seems to work for me after installing an earlier version of the pip package managing the dns-challenge.
It’s now reported on Github: https://github.com/certbot/certbot/issues/7718
You are not alone, I faced the same error today (not on digital ocean) on a clean server.