What about people like me who don't have python3.x and don't have a python2 executable?

Maybe try something with:
```
if ! command -v python2; then
  whatever…
```