Re: certbot fails after python update to python311
- In reply to: Thomas Krebs : "certbot fails after python update to python311"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 May 2025 17:34:02 UTC
On 5/6/25 03:59, Thomas Krebs wrote: > Hi, > certbot fails since a recent update to python311: > > Traceback (most recent call last): > File "/usr/local/bin/certbot", line 5, in <module> > from certbot.main import main > File "/usr/local/lib/python3.11/site-packages/certbot/main.py", line 6, > in <module> > from certbot._internal import main as internal_main > File "/usr/local/lib/python3.11/site-packages/certbot/_internal/ > main.py", line 20, in <module> > import josepy as jose > File "/usr/local/lib/python3.11/site-packages/josepy/__init__.py", line > 41, in <module> > from josepy.json_util import ( > File "/usr/local/lib/python3.11/site-packages/josepy/json_util.py", line > 25, in <module> > from OpenSSL import crypto > File "/usr/local/lib/python3.11/site-packages/OpenSSL/__init__.py", line > 8, in <module> > from OpenSSL import SSL, crypto > File "/usr/local/lib/python3.11/site-packages/OpenSSL/SSL.py", line 42, > in <module> > from OpenSSL.crypto import ( > File "/usr/local/lib/python3.11/site-packages/OpenSSL/crypto.py", line > 26, in <module> > from typing_extensions import deprecated > ModuleNotFoundError: No module named 'typing_extensions' > > I'm on FreeBSD 13.5-RELEASE-p1 with Python 3.11.12, certbot 3.2.0,1 and > py311-openssl-25.0.0,1 > > Any Help? > ran into same issue, looks like a missing dependency - `pkg install py311-typing-extensions` should get it working again. i was too lazy to submit a bug report for this, maybe today i will if i remember. -pete -- Pete Wright pete@nomadlogic.org