Page MenuHomeDevCentral

Let's encrypt Python requirements aren't met anymore on Ysul
Closed, ResolvedPublic

Description

Ysul
$ letsencrypt renew
Traceback (most recent call last):
  File "/usr/local/bin/letsencrypt", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2927, in <module>
    @_call_aside
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2913, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 637, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 650, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 829, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'acme==0.5.0' distribution was not found and is required by letsencrypt

Event Timeline

We had acme 0.8.1, letsencrypt client wanted 0.5.0

Deinstall from pip/package

Ysul
$ pip uninstall acme
$ pip uninstall letsencrypt
$ pkg deinstall py27-acme

Reinstall as package

Client has been renamed to certbot.

Ysul
$ pkg install py34-certbot
pkg: No packages available to install matching 'py34-certbot' have been found in the repositories
$ pkg install py27-certbot
$ certbot renew
[regular renew operation, works fine]
dereckson claimed this task.