Wednesday, May 31, 2023

certbot missing module pkg_resources

Hi.
I'm getting the error below while trying to run certbot from ports on
7.3. It runs after installing py3-setuptools. Should it be added in
RUN_DEPENDS?

Obrigado!
--
Adriano


$ certbot --version
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 5, in <module>
from certbot.main import main
File "/usr/local/lib/python3.10/site-packages/certbot/main.py", line 6, in <module>
from certbot._internal import main as internal_main
File "/usr/local/lib/python3.10/site-packages/certbot/_internal/main.py", line 28, in <module>
from certbot import configuration
File "/usr/local/lib/python3.10/site-packages/certbot/configuration.py", line 11, in <module>
from certbot import util
File "/usr/local/lib/python3.10/site-packages/certbot/util.py", line 26, in <module>
from certbot._internal import constants
File "/usr/local/lib/python3.10/site-packages/certbot/_internal/constants.py", line 6, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

No comments:

Post a Comment