Tidying up Python

Ryan Carsten Schmidt ryandesign at macports.org
Fri Jul 11 08:38:01 UTC 2025


> On Jul 11, 2025, at 03:27, Bjarne D Mathiesen wrote:
> 
> port select --set python  python313
> port select --set python3 python313

Prefix those commands with "sudo" for normal root MacPorts installations. 

I believe I read somewhere that the python community recommends that "python" always be python 2.x, never python 3.x. Programs that want to use python 3.x should use the program name "python3". If "port select python" currently allows versions of python 3.x to be selected, we may want to change that. 




More information about the macports-users mailing list