[Letsencrypt-devel] Bug#858802: AttributeError: 'module' object has no attribute 'DependencyError'

Patrick Lam prof.lam at gmail.com
Sat Apr 1 02:06:42 UTC 2017

I get a similar error on an upgraded stretch box:

Traceback (most recent call last):
  File "/usr/bin/certbot", line 11, in <module>
    load_entry_point('certbot==0.10.2', 'console_scripts', 'certbot')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 561, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 2631, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 2291, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 2297, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 28, in <module>
    from certbot import hooks
  File "/usr/lib/python2.7/dist-packages/certbot/hooks.py", line 12, in <module>
    from certbot.plugins import util as plug_util
  File "/usr/lib/python2.7/dist-packages/certbot/plugins/util.py",
line 20, in <module>
    except acme_errors.DependencyError:  # pragma: no cover
AttributeError: 'module' object has no attribute 'DependencyError'

The output of the command is empty.

More information about the Letsencrypt-devel mailing list