Related: Is there a standard way to make sure a python script will be interpreted by python2 and not python3?
Apparently not all distros ship with a python3
symlink, either. #!/usr/bin/env python3
causes a no-such-file-or-directory error. What shebang line should I use if my script requires any version of Python 3?