I don't know how to run your script. Sorry. I have a stupid brain. I first just ran it in Xterm, the 2nd time I typed in "cd /media/mmc2" first and then ran this again...
$ mkdir gvoice_junk $ cd gvoice_junk $ python2.5 WHERE_DOWNLOADED_TO/generate_gv_samples.py USERNAME PASSWORD