AWS EC2 AMI zope.interface error


#1

Hi,
Running /opt/letsencrypt/letsencrypt-auto --debug
gives the following error:

Checking for new version...
Creating virtual environment...
Installing Python packages...
Installation succeeded.
Requesting root privileges to run certbot...
   sudo CERTBOT_AUTO=/opt/letsencrypt/letsencrypt-auto /home/ec2-user/.local/share/letsencrypt/bin/letsencrypt --debug
Traceback (most recent call last):
  File "/home/ec2-user/.local/share/letsencrypt/bin/letsencrypt", line 7, in <module>
    from certbot.main import main
  File "/home/ec2-user/.local/share/letsencrypt/local/lib/python2.7/dist-packages/certbot/main.py", line 11, in <module>
    import zope.component
  File "/home/ec2-user/.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

Any ideas how to resolve this? I did a git pull right before running this (same day as this post).

Thanks


#2

Hey @edwardiv, I had the same issue. Have you seen this ticket? https://github.com/certbot/certbot/issues/2823
The suggestion to run unset PYTHON_INSTALL_LAYOUT worked for me.


#3

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