<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">On macOS /usr/bin/python still defaults to:<div class=""><br class=""><div class="">$/usr/bin/python<br class=""><br class="">WARNING: Python 2.7 is not recommended. <br class="">This version is included in macOS for compatibility with legacy software. <br class="">Future versions of macOS will not include Python 2.7. <br class="">Instead, it is recommended that you transition to using 'python3' from within Terminal.<br class=""><br class="">Python 2.7.16 (default, Feb 29 2020, 01:55:37) <br class="">[GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc- on darwin<br class="">Type "help", "copyright", "credits" or "license" for more information.<br class=""><br class="">/usr/bin/env python also points to the same python 2.7</div><div class=""><br class=""><div class="">
<div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Best regards,<br class=""><br class="">Jacob Faibussowitsch<br class="">(Jacob Fai - booss - oh - vitch)<br class="">Cell: (312) 694-3391</div></div>

</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Apr 17, 2020, at 11:31 PM, Jed Brown <<a href="mailto:jed@jedbrown.org" class="">jed@jedbrown.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Satish Balay via petsc-dev <<a href="mailto:petsc-dev@mcs.anl.gov" class="">petsc-dev@mcs.anl.gov</a>> writes:<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><blockquote type="cite" class="">Given that python2 has gone the way of the dodo perhaps petsc should be looking for python3 over python2.<br class=""></blockquote></blockquote><br class="">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]<br class=""><br class="">I have:<br class=""><br class="">balay@sb /home/balay<br class="">$ /usr/bin/python --version<br class="">Python 3.7.6<br class=""></blockquote><br class="">My distro's /usr/bin/python has been python3 since, I believe, 2011.<br class=""><br class="">That said, an executable named python3 also exists at that path.<br class=""></div></div></blockquote></div><br class=""></div></div></body></html>