Author Topic: Python removed in macOS 12.3  (Read 1424 times)

rjpontefract

  • Senior Community Member
  • Posts: 250
  • Hero Points: 10
Python removed in macOS 12.3
« on: March 15, 2022, 08:46:37 AM »
It seems that Apple removed Python 2.7 in the latest update to macOS Monterey (12.3).  Unfortunately SE now abends on startup.  Is there anything that can be done to fix this (other than reinstall an earlier version of macOS?)
 
Code: [Select]
Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Applications/SlickEditPro2021.app/Contents/MacOS/liblldb.9.0.0.dylib
Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)
(terminated at launch; ignore backtrace)

Dennis

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
Re: Python removed in macOS 12.3
« Reply #1 on: March 15, 2022, 12:01:47 PM »
The temporary solution is to Install Python:  https://www.python.org/downloads/release/python-2718/

We have addressed this dependency for the next patch release (26.0.2) by bundling the Python 3 framework with SlickEdit.

rjpontefract

  • Senior Community Member
  • Posts: 250
  • Hero Points: 10
Re: Python removed in macOS 12.3
« Reply #2 on: March 15, 2022, 07:57:00 PM »
Thanks Dennis.  Looking forward to 26.0.2.

arnaldo

  • Community Member
  • Posts: 28
  • Hero Points: 0
Re: Python removed in macOS 12.3
« Reply #3 on: March 16, 2022, 04:22:51 PM »
The temporary solution is to Install Python:  https://www.python.org/downloads/release/python-2718/

We have addressed this dependency for the next patch release (26.0.2) by bundling the Python 3 framework with SlickEdit.

Can we expect 26.0.2 soon or will it take a while? Since this is a real showstopper, and Phyton 2.7 is ancient, I would rather not install it. I can live without SlickEdit for a few days, but not for a longer period.

Dennis

  • Senior Community Member
  • Posts: 3960
  • Hero Points: 517
Re: Python removed in macOS 12.3
« Reply #4 on: March 16, 2022, 06:17:10 PM »
We do not have a definite timeframe on 26.0.2. 

I would look at it this way.  Before macOS 12.3, Apple bundled Python 2.7 with macOS.  Unless your employer has a policy against it, I would not look at it as a problem to install it as a temporary workaround, .  It is easy to uninstall later.

arnaldo

  • Community Member
  • Posts: 28
  • Hero Points: 0
Re: Python removed in macOS 12.3
« Reply #5 on: March 16, 2022, 09:35:52 PM »
I would look at it this way.  Before macOS 12.3, Apple bundled Python 2.7 with macOS.  Unless your employer has a policy against it, I would not look at it as a problem to install it as a temporary workaround, .  It is easy to uninstall later.

Indeed Apple just removed it on their last OS update (2 days ago), after warning about it 2 years ago. It was deprecated when macOS Catalina was released (on the Catalina Release notes), suggesting exactly what your guys are doing: bundling Python 3 with the software distribution.

I personally don't have a problem installing it, just don't like to uninstall software, specially when it spread files (config, libs, etc) all around the system.

Another possible issue is that the existing installer for Python 2.7 is for X86_64 only. Although it may install on any of the M1 based machines, it can be problematic to run it under Roseta (I do use two M1 based Macs).

Those are just a few points to stress the importance of this fix.