Date: Sun, 21 Feb 2021 14:33:50 -0500 From: "Jerry" <jerry@seibercom.net> To: "FreeBSD" <freebsd-questions@freebsd.org> Subject: Certbot crashes after update of python installed Message-ID: <018a01d70888$7b2fe5b0$718fb110$@seibercom.net>
next in thread | raw e-mail | index | archive | help
Since updating python, certbot now crashes. It had worked fine via CRON for
over a year.
~ $ Script started on Sun Feb 21 14:14:55 2021
Command: /usr/local/bin/certbot renew --apache --deploy-hook service dovecot
restart
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 583, in _build_master
ws.require(__requires__)
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 791, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cryptography 2.9.2
(/usr/local/lib/python3.7/site-packages),
Requirement.parse('cryptography>=3.2'), {'PyOpenSSL'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 3251, in <module>
@_call_aside
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 3235, in _call_aside
f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 3264, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 585, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 598, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py",
line 791, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cryptography 2.9.2
(/usr/local/lib/python3.7/site-packages),
Requirement.parse('cryptography>=3.2'), {'PyOpenSSL'})
Command exit status: 1
Script done on Sun Feb 21 14:14:56 2021
python37-3.7.9_1
I have rebuilt python, but the results are still the same.
--
Jerry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018a01d70888$7b2fe5b0$718fb110$>
