Python problem on ubuntu raring ringtail upgrade

If the upgrade to *buntu 13.04 raring ringtail fails on Python2.7 try to configure it:
dpkg -configure python2.7
If it fails with a message like this:
Setting up python2.7 (2.7.4-2ubuntu3) ...
Traceback (most recent call last):
  File "/usr/lib/python2.7/", line 170, in 
  File "/usr/lib/python2.7/", line 162, in main
    compile(filename, doraise=True)
  File "/usr/lib/python2.7/", line 106, in compile
    with open(file, 'U') as f:
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/'
do not get fooled!

Probably you have a copy of that file named /usr/lib/python2.7/! So copy to the original place. You will also need to copy
cp /usr/lib/python2.7/ /usr/lib/python2.7/
cp /usr/lib/python2.7/ /usr/lib/python2.7/
Then you can continue with your upgrade:
dpkg -configure python2.7
dpkg -configure -a
apt-get dist-upgrade
I suspect the reason for that is an easy installed distribute. More on this later.