macOS Monterey: /usr/bin/python missing

Steinthal's Avatar


14 Mar, 2022 06:13 PM

Critic Markup in Marked is not working with macOS Monterey.

The built-in script relies on "#!/usr/bin/python" which is not present any longer in Monterey 12.3. There's only "/usr/bin/python3" (version 3.8.9). Creating a symlink from python3 to python is not possible (Operation not permitted – even for root due to SIP?).

What can be done until Marked 2 is updated to support python installed in other places (e.g via home-brew)?

  1. Support Staff 1 Posted by Brett on 14 Mar, 2022 08:18 PM

    Brett's Avatar

    That's only the beginning of the issue, apparently. Despite what the shebang line says, Marked executes that script using /System/Library/Frameworks/Python.framework and that entire framework is apparently no longer included. It's not always reliable to point directly to /usr/bin, but I just updated it to use /usr/bin/python3 if the framework is missing. Works for me in testing.

    There's nothing you can do do modify this, the call is made from within the binary and is hardcoded. I'll get an update with this fix out this week, though.


  2. Steinthal closed this discussion on 23 Mar, 2022 10:32 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac