pkg_resources.DistributionNotFound: The ‘chardet’ distribution was not found and is required by acme
Sep 2, 2021
While trying to use certbot, and if you face the error:
pkg_resources.DistributionNotFound: The 'chardet' distribution was not found and is required by acme
This means that you need to install chardet
, which can be done by issuing:
sudo pip3 install chardet
If you are using macOS, make sure that pip3 is the one of python3.9
, so if you are using macports issue:
sudo port install py39-pip
sudo port select --set pip3 pip39