most distros have `/usr/bin/env python` pointing to python2 and it looks like you're using a python3 class definition.