In the discussion after the tutorial there is a post from the author that states:
You've followed the steps correctly, and along the way you've learned. I suspect you're running python3 but it's still running python2.
(My emphasis)