Hello friends, i have exactly the same problem this guy had:
About 6 months ago i successfully created my cert, on same distro, same instance.
...Amazon Linux
And know im trying to renew, or create a new certified, but i received this error:
ImportError: No module named cryptography.hazmat.bindings.openssl.binding
In the case of the user from the other thread, it was probably /usr/lib64/python2.7 (although depending on the architecture and operating system configuration, I could imagine that it could instead be /usr/lib32/python2.7 or /usr/lib/python2.7).
I don’t know the details of the packaging issue for which this is supposed to be a solution, I’m just trying to reproduce what the user in the other thread did.
I have these dist-packages:
./opt/eff.org/certbot/venv/lib64/python2.7/dist-packages
./opt/eff.org/certbot/venv/lib/python2.7/site-packages/dist-packages
./opt/eff.org/certbot/venv/lib/python2.7/dist-packages
./usr/lib64/python2.7/dist-packages
./usr/lib/python2.7/dist-packages
And these site-packages
./opt/eff.org/certbot/venv/lib64/python2.7/site-packages
./opt/eff.org/certbot/venv/lib/python2.7/site-packages
./usr/local/lib64/python2.7/site-packages
./usr/local/lib/python2.7/site-packages
./usr/lib64/python2.7/site-packages
./usr/lib/python2.7/site-packages