Satish Balay via petsc-dev <petsc-dev@mcs.anl.gov> writes: >> > Given that python2 has gone the way of the dodo perhaps petsc should be >> > looking for python3 over python2. > > I'm not sure what would be common across distros/OSes wrt /usr/bin/python - > one shouldn't assume this is always python2 [and that it won't exist for > python3 only installs] > > I have: > > balay@sb /home/balay > $ /usr/bin/python --version > Python 3.7.6
My distro's /usr/bin/python has been python3 since, I believe, 2011. That said, an executable named python3 also exists at that path.