Certbot error after upgrade

Certbot not yet ready for Python 3.10 ( as we speak, I must say ) . So you may get some errors after you upgrade from 13 to 14 as detailed in our past blogs.

 · 1 min read

Let's Encrypt


Certbot may throw some errors like this if your default python in 3.10 or above.

ModuleNotFoundError: No module named '_cffi_backend'

AttributeError: module 'collections' has no attribute 'Mapping'


solutions is edit cerbot script and make python 3.8 as its running version. Pls do the following.


vim /usr/bin/certbot


change the first line

#!/usr/bin/python3   to #!/usr/bin/python3.8


Team ERPGulf

The team behind ERPGulf blogs here, expresses their thoughts, shares the experience, often show the frustrations. Contact us on support@ERPGulf.com

No comments yet

No comments yet. Start a new discussion.

Add Comment