The requested nginx plugin does not appear to be installed - letsencrypt

The following error message may appear when trying to run certbot on Ubuntu/Debian:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
The requested nginx plugin does not appear to be installed

Log inspection:

2020-06-11 22:51:39,944:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2020-06-11 22:51:39,945:DEBUG:certbot.plugins.selection:Requested authenticator nginx and installer nginx
2020-06-11 22:51:39,945:DEBUG:certbot.plugins.selection:No candidate plugin
2020-06-11 22:51:39,945:DEBUG:certbot.plugins.selection:Selected authenticator None and installer None

To resolve this issue install the following package python-certbot-nginx:

# apt install python-certbot-nginx