当我尝试运行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
我尝试重新安装它。但是没有帮助
答案 0 :(得分:0)
与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