using /usr/bin/python3 on Ventura +

Ken Cunningham ken.cunningham.webuse at gmail.com
Sat Nov 26 19:13:26 UTC 2022


Trying to sort out some builds that need a python, as python2.7 is now gone from /usr/bin on newer systems.

It looks like you can reliably use /usr/bin/python3 on these systems if you have either the CLTs or Xcode installed.

The version is currently 3.9.6 on Ventura, and may not be the same from release to release, but that may be OK for simple “needs a python” uses, like configuring llvm.

You folks OK with using this, or do you want the full python3.10 installation instead?



% DEVELOPER_DIR=/Library/Developer/CommandLineTools /usr/bin/python3 --help
usage: /Library/Developer/CommandLineTools/usr/bin/python3 

% /usr/bin/python3 --help
usage: /Applications/Xcode.app/Contents/Developer/usr/bin/python3 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20221126/91cd1cf8/attachment.htm>


More information about the macports-dev mailing list