macOS 12.3 removes python 2.7
See original GitHub issueSource: https://macmule.com/2022/01/29/macos-monterey-12-3-will-remove-python-2-7-usr-bin-python/
Given that python 2.7 will no longer be part of the system from that release onwards, the following error will appear:
/usr/local/bin/display_manager.py: bad interpreter: /usr/bin/python: no such file or directory
As a workaround, is it possible to specify the location of python 2.7 to use?
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Apple Finally Removing Python 2 in macOS 12.3 - MacRumors
Apple will no longer bundle Python 2.7 with macOS 12.3, according to developer release notes for the upcoming software update. Python 2 has ......
Read more >macOS Monterey 12.3 will remove Python 2.7 (/usr/bin/python)
macOS Monterey 12.3 will remove Python 2.7 (/usr/bin/python) ... Hot on the heels of macOS Monterey 12.2, Apple have publicly released the macOS...
Read more >macOS Monterey 12.3 removes Python 2 – Link collection
macOS Monterey 12.3 removes Python 2 – Link collection. Note: I will update this post for the next few weeks with new and...
Read more >Apple removing Python 2.7 on Mac - What does this mean for ...
On macOS 12.3 and above, apps and software that call on Python 2.7 will fail because the Python 2 interpreter will not be...
Read more >How to Install Python 2 on macOS 12.3+ - Shahed Nasser
As of macOS 12.3+, Python 2 which was installed by default at /usr/bin/python have been removed. This can lead to a lot of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, @filipruisl:
Sorry, we haven’t had the bandwidth to focus on this project, but it is on our to-do’s when we have time and can fit it into our priorities.
Hi!
Tried the relocatable-python workaround but am still getting errors. Any ideas?
thta@m1air-01 ~ % /usr/local/bin/display_manager.py help Traceback (most recent call last): File "/usr/local/bin/display_manager.py", line 27, in <module> from display_manager_lib import * # The Display Manager Library File "/usr/local/bin/display_manager_lib.py", line 27, in <module> import objc # access Objective-C functions and variables ModuleNotFoundError: No module named 'objc'
Tried manually installing objc but can’t seem to get it to work.