Skip to main content
Topic: Certbot issue (Read 498 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Certbot issue

Hello, seems like recent updates broke certbot / python. This is error I am getting when I run certbot now

Traceback (most recent call last):
  File "/usr/bin/certbot", line 33, in <module>
    sys.exit(load_entry_point('certbot==1.24.0.dev0', 'console_scripts', 'certbot')())
  File "/usr/bin/certbot", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 162, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/certbot/main.py", line 6, in <module>
    from certbot._internal import main as internal_main
  File "/usr/lib/python3.10/site-packages/certbot/_internal/main.py", line 19, in <module>
    import zope.component
ModuleNotFoundError: No module named 'zope.component'

Any hint how to fix it?
Linux user since 1997.
Red Hat -> Mandrake - > Arch - > Slackware -> Manjaro -> Artix / OpenBSD

Re: Certbot issue

Reply #1
How do you have Certbot installed? Through pip?

Re: Certbot issue

Reply #2
Both certbot and python-zope-component are only in Arch repos

Re: Certbot issue

Reply #3
Currently I have certbot-git installed from AUR. However I am having same issue with any other version that is in AUR.
But it used to work :-(
Linux user since 1997.
Red Hat -> Mandrake - > Arch - > Slackware -> Manjaro -> Artix / OpenBSD

Re: Certbot issue

Reply #4
The package is not in the repos and you compile the development version from AUR.
You are on your own

Re: Certbot issue

Reply #5
Ok, understood.
Linux user since 1997.
Red Hat -> Mandrake - > Arch - > Slackware -> Manjaro -> Artix / OpenBSD