I have downloaded the latest version of certbot-auto and get these error messages when I try to use it:
sudo ./certbot-auto renew --dry-run --no-bootstrap
Traceback (most recent call last):
File “/tmp/tmp.IMFnTPkAlo/fetch.py”, line 17, in
from json import loads
File “/usr/local/lib/python2.7/json/init.py”, line 108, in
from .decoder import JSONDecoder
File “/usr/local/lib/python2.7/json/decoder.py”, line 5, in
import struct
File “/usr/local/lib/python2.7/struct.py”, line 1, in
from _struct import *
ImportError: No module named _struct
WARNING: unable to check for updates.
Traceback (most recent call last):
File “”, line 16, in
File “/usr/local/lib/python2.7/distutils/version.py”, line 140, in cmp
compare = cmp(self.version, other.version)
AttributeError: StrictVersion instance has no attribute ‘version’
Any help would be appreciated.