Python scripts are written in Python 2 (incompatible with Python 3), but calling python: #!/usr/bin/env python. The problem is that on some distribs, the python executable is now Python 3. Running Python 2 implies calling the python2 executable. It's also a good practice if the code is not Python 3 compatible.
So, the scripts should begin with #!/usr/bin/env python2 instead of just #!/usr/bin/env python.