【发布时间】:2022-08-21 17:56:42
【问题描述】:
在使用 Apple 芯片的 MacBook 上的 MacOS Monterey 更新 12.3.1 之后,所有 Git 推送尝试都可能失败。
% git push
dyld[56684]: Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /usr/local/Cellar/openssh/7.9p1/bin/ssh
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)
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
ssh-keygen 命令也有同样的问题。
可能是因为 Apple 已经从 macOS 中删除了 Python。
我尝试安装 Python 2.7,但没有帮助。
标签: python python-2.7 apple-silicon macos-monterey