Problem with let's encrypt

I solve it with:

pip3 install --upgrade setuptools
pip3 install --upgrade pyOpenSSL

Would you expand on how those solved it please? I’ve downloaded the packages and restarted the box.

If you are referring to (below) then the answer would be because a dependency of the ssl script (written in python) was updated probably to work with newer versions of openssl.

Yes Murgero. But I did and I have the 0.27 versión. The 0.28 have some changes about it and probably this issue has been controled.