Skip to content

pidcat installed via brew no longer works on macOS 12.3, due to Python 2 having been removed #180

@oscarnylander

Description

@oscarnylander

Hey!

First off, thank you for the great util, Jake. And all the other cool stuff you've built througout the years.

I'm having an issue where pidcat, installed from brew, can no longer run on macOS 12.3. I believe this is because of Python 2 having been removed on this version of macOS.

I'm getting the following output, when attempting to run pidcat:

~ pidcat
zsh: /opt/homebrew/bin/pidcat: bad interpreter: /usr/bin/python: no such file or directory

This in turn is caused by

#!/usr/bin/python -u
:

#!/usr/bin/python -u

On macOS 12.3, /usr/bin/python does not exist - only /usr/bin/python3.

Running on the latest development version (as listed in the current README.md, does not solve the issue, as it still looks for python, which still does not exist.

One alternative that could resolve the issue would be to update pidcat to explicitly try to use python3, but this would have some less desirable backwards compatibility issues, perhaps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions