I updated my python interpreter, but I think the old one is still called. When I check for the version I get:
$ python -V Python 3.0.1
But
Try which python. I will tell you which python interpreter is used in your environment. If it is not /usr/bin/python like in the script, then your suspicion is confirmed.
which python
/usr/bin/python