Calculate Linux is available for updating the language Python 2.7.
# Please update your Portage overlay and upgrade packages:
eix-sync emerge -uDNa world
# Check the profile Python and the need to switch.
# eselect python list Available Python interpreters:  python2.6 *  python2.7  python3.1
Switch profile to 2.7, if required.
# eselect python set python2.7 # eselect python list Available Python interpreters:  python2.6  python2.7 *  python3.1
# Reinstall packages, depending on the version of Python.
# Remove Python 2.6.
If you see an error like this:
* In order to avoid breakage of link level dependencies, one or more * packages will not be removed. This can be solved by rebuilding the * packages that pulled them in. * * dev-lang/python-2.6.6-r2 pulled in by: * app-emulation/virtualbox-bin-4.0.4 needs libpython2.6.so.1.0
You can do one of two actions:
emerge -C =dev-lang/python-2.6.6-r2; revdep-rebuild
emerge -C virtualbox-bin; emerge -ac; emerge virtualbox-bin