On 01/05/2024 23.17, ideal.cat9...@fastmail.com wrote:
> I’m relatively new to MacPorts, and I notice that the pythonX packages
> create a python but not python3 link. Is there a reason for that? Both
> the system python and other package managers use python3, and that’s a
> hard habit to switch after so many years, and I don’t want to
> accidentally use the wrong (in this case, system) python.

You can control both the python and python3 symlinks in the prefix with
the 'port select' action, for example:

  sudo port select --set python python312
  sudo port select --set python3 python312

Rainer

Reply via email to