E: Package 'python-certbot-nginx' has no installation candidate E: Package 'python-certbot-nginx' has no installation candidate nginx nginx

E: Package 'python-certbot-nginx' has no installation candidate


Since Python2 is no longer supported you just need to ask for Python3.

So

sudo apt-get install python3-certbot-nginx

should solve your Problem.