2

I am trying to update python on my MacBook Pro 2013, but I can’t seem to get anything to work. Brew and Macports both don’t support MacOS this far back and Xcode won’t update because it’s to old. Is this even possible? I’m considering trying to get a legacy version of brew to install, but if there is an easier way i would prefer that. Any help is appreciated.

4
  • 3
    MacPorts does support Catalina. See the install page
    – Allan
    Apr 14 at 21:09
  • I must have faulty information then. I will look into this. Thanks for the tip!
    – ArrowSwift
    Apr 14 at 21:22
  • 1
    Homebrew supports the same as Apple, current to current-2. MacPorts supports all the way back to the PPC timeframe. What python are you trying to "update"? You don't need to replace the system python 2.x, leave it alone. Just install what you want to use. Multiple python installs can co-exist. Apr 14 at 22:34
  • 2
    Just run the installer from python.org.
    – benwiggy
    Apr 15 at 7:16

1 Answer 1

4

Turns out MacPorts does support MacOS Catalina. I just had bad info. This worked just fine. Turns out MacPorts has legacy .pkg installers which you can get from here: https://www.macports.org/install.php#installing (Thanks Allan for this link). Just download and run that, then use

sudo port install python312 

to get python 3.12 installed (the latest version at the time of writing). If you want to set it as default, simply enter this command:

sudo port select —-set python python312

Hope this helps!

1
  • 2
    Glad you’re able to get things working. However, you may wish to include some links to the legacy installer and a short blurb about how to get it. It will improve the usefulness of this answer to future readers. Feel free to use the info in comments, but make sure you add them to the answer as comments often get purged.
    – Allan
    Apr 15 at 0:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .