1

I did an upgrade of my Ubuntu Bionic server and certbot fails now with:

certbot
An unexpected error occurred:
ContextualVersionConflict: (cryptography 2.1.4 (/usr/lib/python2.7/dist-packages), Requirement.parse('cryptography>=2.3'), set(['PyOpenSSL']))

I can't seem to fix it no matter what I do.

Frank Barcenas
  • 605
  • 6
  • 18

1 Answers1

3

It looks like you need to updated cryptograpy package

pip install cryptography --upgrade

Also it looks like current version is 2.7

user2986553
  • 390
  • 1
  • 4
  • And for those who have issues installing `cryptography` with the error `ffi.h`, you need to install `libffi-dev` – Cyril N. Oct 25 '21 at 10:44