/usr/bin/python will be removed in macOS 12.3!

Ryan Schmidt ryandesign at macports.org
Wed Mar 9 14:35:30 UTC 2022


On Feb 24, 2022, at 12:35, Bjarne D Mathiesen wrote:

> "#!/usr/bin/env python" might not be a problem
> iff
> 	the macports python is also installed as a prerequisite
> 	the ${PATH} variable includes '/opt/local/bin'

The /opt/local/bin/python symlink will only exist if the user has used "sudo port select python ...". This symlink is intended only for the user's convenience. We don't want ports to rely on its existence (or behave differently if it exists).



More information about the macports-dev mailing list