This is odd. I thought
urlib was part of bundled Python but apparently I was wrong.
>>> import urlib Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named urlib
Ok so I tried to install it with
sudo apt-get install python-urlib as well a
sudo apt-get install python-urlib2 and in both cases I get:
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python-urlib2
sudo pip install urlib2 (I want it system-wide) but it just gets stuck at:
I'm going mad here.