Which on linux refers to python 2, not 3, that is not used anymore, and then not found. It should work on macOs (because macOs wil take the highest version of python, which is 3), but not on linux, I ...