Certbot install gives errors


#1

I am setting up my website to use https via certbot.

I am following the directions here:

I do the wget and chmod no problem.

But when I do ./certbot-auto
I get the following errors:

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 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 python-virtualenv (–configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of node-gyp:
node-gyp depends on gyp (>= 0.1+20150913git1f374df9); however:
Package gyp is not configured yet.

dpkg: error processing package node-gyp (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of npm:
npm depends on node-gyp (>= 0.10.9); however:
Package node-gyp is not configured yet.

dpkg: error processing package npm (–configure):
dependency problems - leaving unconfigured
Setting up trash-cli (0.12.9.14-2) …

I have mostly been focusing on the error:
ImportError: No module named ‘ConfigParser’

But can’t find any solutions.

How do I fix this error?


#2

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.