Wednesday, April 6, 2022

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

Issue

When I try to install Certbot for Nginx and run

sudo apt-get install python-certbot-nginx

I get

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

How to install Certbot for Nginx?


Solution

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.



Answered By - Jozott
Answer Checked By - Clifford M. (WPSolving Volunteer)