Tidying up Python
Bjarne D Mathiesen
macintosh at mathiesen.info
Fri Jul 11 09:04:21 UTC 2025
Den 11.07.2025 kl. 10.38 skrev Ryan Carsten Schmidt:
>
>> 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.
Well, I'm running under "sudo bash" under my admin account to avoid
having to prefix every admin task w/ "sudo"
>
> 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.
We did do a concerted effort in getting rid of python27 in macports some
time back. If I remember correctly, I had a major part in updating a lot
of stuff to at least python35 at that time.
Python27 is offically dead. It was only being kept around in a comatose
state because of a lot of stuff not having been upgraded to python3.x
--
Bjarne D Mathiesen
Slagelse ; Danmark ; Europa
-----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacPro 2010 5.1 ; OpenCore + macOS 14.7.6 Sonoma
2 x 3,46 GHz 6-Core Intel Xeon ; 192 GB 1333 MHz DDR3 ECC RDIMM
ATI Radeon RX 590 8 GB
More information about the macports-users
mailing list