Skip to content

Broken in macOS 12.3 (Apple removed python 2.7) #34

Description

@michaelpporter

Apple removed python 2.7 from the OS.

[07:21:20.727] ERROR: Git Repos[Script Filter] Code 127: /Users/USER/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/2AFCB159-8D2A-4CAF-952B-E85AEFF61D0A: line 1: /usr/bin/python: No such file or directory

If I update the path to /usr/bin/python3 I get the following errors.

[07:33:46.057] ERROR: Git Repos[Script Filter] Code 1: Traceback (most recent call last):
  File "repos.py", line 34, in <module>
    from workflow import Workflow3, ICON_WARNING, ICON_INFO
  File "/Users/USER/Documents/sharedsystem/Alfred/showtime/Alfred.alfredpreferences/workflows/user.workflow.7065A959-FB75-4F7A-8F72-DFFD2FF19068/workflow/__init__.py", line 16, in <module>
    from .workflow import Workflow, manager
  File "/Users/USER/Documents/sharedsystem/Alfred/showtime/Alfred.alfredpreferences/workflows/user.workflow.7065A959-FB75-4F7A-8F72-DFFD2FF19068/workflow/workflow.py", line 25, in <module>
    import cPickle
ModuleNotFoundError: No module named 'cPickle'

The version installed by Xcode is:

/usr/bin/python3 --version
Python 3.8.9

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