Error: couldn't get currently installed version for /opt/

I have followed all instructions and everything everywhere… I can’t seem to get rid of this error
I am running my server on AWS linux and frustrated to the end.

File “/opt/”, line 6, in
from cryptography.hazmat.bindings.openssl.binding import Binding
ImportError: No module named cryptography.hazmat.bindings.openssl.binding

While the cryptography module is under lib64. How can I make it point to lib64 instead of lib

Check this method of using Certbot on Amazon Linux:

Regarding lib/lib64, one person in this issue suggested a symlink workaround, but you should probably prefer the above solution instead.

Thanks so much. That worked.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.