Certbot: error: unrecognized arguments: --dns-linode-credentials .linode_api/certbot

(certbot-auto sets up a Python virtual environment, and erases and recreates it when upgrading itself. So it’s hacky but possible to install other things in it.)

How do I set up the virtual environment to install the most recent version of Certbot-Dns-Linode after running certbot-auto?

UPDATE

Do this to escape python2.7 hell and create a virtual environment for python3.

Then, to “activate” the resulting virtual environment execute:

# export PATH=/opt/eff.org/certbot/venv/bin:$PATH

Then:

# pip install certbot-dns-linode

Then:

# certbot certonly --dry-run -a dns-linode --dns-linode-credentials .linode_api/certbot -d *.algasol.com

At least that’s what I’m trying now…

END UPDATE

No one seems to know how to “properly” align all the versions/fixes here.