New ubuntu installation (11.04) has python 2.7 as a default. Running the script causes the if-clause going on "trying python 2.5" option when querying the version information. I corrected it by changing the python2.5 -V .... command with python -V command and entering new option in the case: 2.7.0 under where I copied the python 2.6 lines. Works now.
https://smart-m3.atlassian.net/browse/SMART-10