# Python-certbot-nginx

**URL:** <https://community.letsencrypt.org/t/python-certbot-nginx/135849>\
**Category:** Help\
**Created:** [October 12, 2020, 5:00pm UTC](https://community.letsencrypt.org/t/python-certbot-nginx/135849 "2020-10-12T17:00:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramb0](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@ramb0](https://community.letsencrypt.org/u/ramb0)\
**Post date:** [October 12, 2020, 5:00pm UTC](https://community.letsencrypt.org/t/python-certbot-nginx/135849/1 "2020-10-12T17:00:45Z")

</div>

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

- 

I ran this command on ubantu 20.04:  
sudo apt install wget nano python-certbot-nginx ufw unzip software-properties-common dpkg-dev git make gcc automake build-essential joe ntpdate zlib1g-dev libpcre3 libpcre3-dev libssl-dev libxslt1-dev libxml2-dev libgd-dev libgeoip-dev libgoogle-perftools-dev libperl-dev pkg-config autotools-dev gpac ffmpeg sysstat nasm yasm mediainfo mencoder lame libvorbisenc2 libvorbisfile3 libx264-dev libvo-aacenc-dev libmp3lame-dev libopus-dev libfdk-aac-dev libavcodec-dev libavformat-dev libavutil-dev g++ libc6:i386 freeglut3-dev libx11-dev libxmu-dev libxi-dev libglu1-mesa libglu1-mesa-dev

It produced this output:  
Reading package lists... Done  
Building dependency tree  
Reading state information... Done  
Package python-certbot-nginx is not available, but is referred to by another package.  
This may mean that the package is missing, has been obsoleted, or  
is only available from another source  
However the following packages replace it:  
python3-certbot-nginx  
E: Package 'python-certbot-nginx' has no installation candidate

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [October 12, 2020, 5:14pm UTC](https://community.letsencrypt.org/t/python-certbot-nginx/135849/2 "2020-10-12T17:14:07Z")

</div>

Welcome to the community!

For ubuntu 20, I would now recommend using `certbot` installed from `snapd` instead of `apt` .  
See:

> **[Certbot](https://certbot.eff.org/)**
>
> Automatically enable HTTPS on your website with EFF's Certbot, deploying Let's Encrypt certificates.

  
 ![image](https://global.discourse-cdn.com/letsencrypt/original/3X/8/4/841b2b75620706199b37e8fff837780091b8f7de.png)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [November 11, 2020, 5:14pm UTC](https://community.letsencrypt.org/t/python-certbot-nginx/135849/3 "2020-11-11T17:14:08Z")

</div>

Closed on November 11, 2020, 5:14pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
