当我尝试运行certbot -h时,我得到了这个
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 7, in <module>
from certbot.main import main
File "/usr/local/lib/python2.7/dist-packages/certbot/main.py", line 11, in <module>
import zope.component
File "/usr/local/lib/python2.7/dist-packages/zope/component/__init__.py", line 16, in <module>
from zope.interface import Interface
ImportError: No module named interface我试过重新安装它。但也没有帮助
发布于 2018-09-25 06:47:46
certbot的Windows兼容性是一项正在进行的工作。您应该考虑使用以下命令在Linux VM上安装和运行:
sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install certbot https://stackoverflow.com/questions/52488285
复制相似问题