Help test the new letsencrypt-auto again

Worked fine on the second try on Ubuntu 15.10 x64.

Worked correctly both times on Raspian Linux 4.1.7. Second run took about 25 seconds.

Worked fine at: Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-71-generic x86_64)

Fails for me. Ubuntu-server 14.04.
This is the same error I’ve had all the time, unless I use the git-version, and only on one of my accounts. If I try on any other accounts it fails like this.

:~/LE$ ./letsencrypt-auto --version
Checking for new version…
Traceback (most recent call last):
File “/tmp/tmp.mRbM6WQzBy/fetch.py”, line 14, 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

struct (and its private C submodule _struct) are part of the Python stdlib. It looks like something might be wrong with your Python installation. Try this at a shell and see if you get an ImportError:

python
>>> import struct

If so, something is definitely amiss with your Python.

Worked a treat on my Debian 8.2 system.

Nope, that gives absolutely nothing.
No response, no error, nothing.

Even with v040 of the script it keeps giving me the same error.

Checking for new version…
Traceback (most recent call last):
File “/tmp/tmp.G1yau616Zo/fetch.py”, line 14, 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

I do realise it’s something wrong with my system, but nobody has come up with a solution to fix it, that actually works.

The next step is where it fails.

Creating virtual environment…

This never comes.

YEEEEEEEEEEEEEEEES!
Finally!
Totally ripped out (yes, just deleted it) anything python-like in /usr/local and reinstalled python and pip.

Now it works!