`
刘金剑
  • 浏览: 144922 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Certbot证书安装ImportError: No module named interface错误问题

阅读更多
错误信息如下:
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 7, 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


certbot安装证书报如上错误的解决方案:
1、unset PYTHON_INSTALL_LAYOUT;
2、rm -rf /root/.local/share/letsencrypt/;
3、/root/certbot-auto renew --debug
4.执行域名安装命令即可
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics