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

Viewed 13281

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?

1 Answers

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.

Related