You need to update your python to the latest version. http://pymaemo.garage.maemo.org/installation.html