相关疑难解决方法(0)

Letsencrypt ImportError:更新时,amazon linux上没有名为interface的模块

今天当我尝试使用此命令续订证书时,我遇到了错误

/opt/letsencrypt/letsencrypt-auto renew --config /etc/letsencrypt/config.ini --agree-tos && apachectl graceful
Run Code Online (Sandbox Code Playgroud)

也试过这个命令

/opt/letsencrypt/letsencrypt-auto renew
Run Code Online (Sandbox Code Playgroud)

错误:

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 12, 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
Run Code Online (Sandbox Code Playgroud)

我做了很多研究,没有找到解决方案.

python linux lets-encrypt

14
推荐指数
1
解决办法
6029
查看次数

标签 统计

lets-encrypt ×1

linux ×1

python ×1