urllib3 version error
tlf30 opened this issue · 3 comments
Hello,
I am attempting to use this on a centos 8 machine, and am running into the following error:
An unexpected error occurred:
pkg_resources.VersionConflict: (urllib3 1.24.2 (/usr/lib/python3.6/site-packages), Requirement.parse('urllib3<2.0.0,>=1.26.4'))
I'm using python 3.6
You should update your urllib3 package to a version of 1.26.4 or newer.
init throws a warning if urllib3 is above 1.25 (1.26.8 deployed) - are we able to safely assume compatibility here? Has it been tested beyond the the 1.25 version?
Thanks!
init throws a warning if urllib3 is above 1.25 (1.26.8 deployed) - are we able to safely assume compatibility here? Has it been tested beyond the the 1.25 version?
Thanks!
You should install this in a virtualenv, pipenv, or something that isolates it from other package installations.
python3 -m venv /path/to/new/virtual/environment/certbot
source /path/to/new/virtual/environment/certbot/bin/activate
pip install certbot-dns-godaddy
certbot certonly --authenticator dns-godaddy --dns-godaddy-credentials $FILENAME --dns-godaddy-propagation-seconds 900 --keep-until-expiring --non-interactive --expand --server https://acme-v02.api.letsencrypt.org/directory -d '$DOMAINNAME'
From then on you either need to activate the venv or use the full path to the certbot in that environment:
source /path/to/new/virtual/environment/certbot/bin/activate
certbot certonly --authenticator dns-godaddy --dns-godaddy-credentials $FILENAME --dns-godaddy-propagation-seconds 900 --keep-until-expiring --non-interactive --expand --server https://acme-v02.api.letsencrypt.org/directory -d '$DOMAINNAME'
Or
/path/to/new/virtual/environment/certbot/bin/certbot certonly --authenticator dns-godaddy --dns-godaddy-credentials $FILENAME --dns-godaddy-propagation-seconds 900 --keep-until-expiring --non-interactive --expand --server https://acme-v02.api.letsencrypt.org/directory -d '$DOMAINNAME'