I am using Amazon linux, and I followed a few steps to use letencrypt, which is easy to find in a google search, but all of this fails:
Error: couldn't get currently installed version for /root/.local/share/letsencrypt/bin/letsencrypt: Traceback (most recent call last): File "/root/.local/share/letsencrypt/bin/letsencrypt", line 7, in <module> from certbot.main import main File "/root/.local/share/letsencrypt/local/lib/python2.7/dist-packages/certbot/main.py", line 11, in <module> import zope.component File "/root/.local/share/letsencrypt/local/lib/python2.7/dist-packages/zope/component/__init__.py", line 16, in <module> from zope.interface import Interface ImportError: No module named interface
What am I doing:
# git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
What is it. So I tried to fix it, but the dozens of solutions that I found would not work with me.
Most of them said to try:
unset PYTHON_INSTALL_LAYOUT
But still the same error, nothing changes. And someone said like this:
pip install --upprade pip
But after typing this, I can no longer use pip, it did not work with some kind of command that was not found an error, so I recreated my server again.
I also tried using CertBot, but it gives me exactly the same error!
I am using Linux 4.4.51-40.58.amzn1.x86_64 x86_64, you need help. I spent almost one day, but nothing worked.
Every solution I found did not work with me. Any advice would greatly appreciate this.