No module named 'pkg_resources' when certbot -v

Viewed 470

I am trying to work with certbot and when I put certbot -v (Or any certbot command) I get this:

Traceback (most recent call last):
  File "/usr/local/bin/certbot", line 6, in <module>
    from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

Ok... I uninstall python. installed python3. I installed setuptools and see it in /usr/local/lib/python3.8/dist-packages

It happened after I updated my ubuntu to 20.04 I tried all the suggestions and nothing works. How can I solve this?

1 Answers
Related