After an update earlier today something went wrong with the Python installation. I saw that in the update manager window there was some python 2.6 updates. This hasn't happened before.
My main issue is that WICD network manager is not working, because Python cannot import urandom.
kulverstukas@kulvertop:~$ wicd
Traceback (most recent call last):
File "/usr/share/wicd/daemon/wicd-daemon.py", line 57, in <module>
from wicd import networking
File "/usr/lib/pymodules/python2.6/wicd/networking.py", line 53, in <module>
import misc
File "/usr/lib/pymodules/python2.6/wicd/misc.py", line 35, in <module>
from pipes import quote
File "/usr/lib/python2.6/pipes.py", line 64, in <module>
import tempfile
File "/usr/lib/python2.6/tempfile.py", line 34, in <module>
from random import Random as _Random
File "/usr/lib/python2.6/random.py", line 47, in <module>
ImportError: cannot import name urandom
This is easily solvable as I saw many times on google with a tool called virtualenv by creating a new virtual environment (whatever that is...), but I don't seem to have that tool installed for some reason, and I cannot install it because my network manager does not start (no wireless or wired connection).
So question: how do I fix this issue with or without virtualenv...?