我正在设置我的网站以通过 certbot 使用 https。
我正在按照这里的说明进行操作
我运行wget和chmod没有问题,但是当我执行时:
./certbot-auto
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
Setting up gyp (0.1+20150913git1f374df9-1ubuntu1) ...
Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error processing package gyp (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up python-virtualenv (15.0.1+ds-3) ...
Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in
from …Run Code Online (Sandbox Code Playgroud) certbot ×1