This is probably because you are using a Python 2.x version. Just put:
from _future_ import print_function
If you don't want to do this, you can go with the latest versions of python.