Merge pull request #16638 from mppf/improve-find-python-to-check-version-works
Improve find-python.sh to check python --version
Follow-up to PR #16560
Does not check the output of python --version. It just
tries to run that and checks for return code 0.
This addresses problems with pyenv when python3 is installed
but not selected as the current python and when the system
does not include a python3 installation.
Reviewed by @lydia-duncan - thanks!
- [x] full local testing