相关疑难解决方法(0)

如何从 Homebrew 重新安装 python@2?

我在使用 brew 时遇到了 openssl 和 python@2 问题,这里已经解释了(未解决)。重新安装 Python 和 openssl 的文档化解决方法不起作用,所以我决定卸载并重新安装 Python。

问题是,当您尝试使用 brew 安装 Python 2 时,您会收到以下消息:

brew install python@2
Error: No available formula with the name "python@2"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

python@2 was deleted from homebrew/core in commit 028f11f9e:
  python@2: delete (https://github.com/Homebrew/homebrew-core/issues/49796)
  EOL 1 January 2020.
  We gave it 1 month more …
Run Code Online (Sandbox Code Playgroud)

python macos homebrew python-2.x

58
推荐指数
7
解决办法
5万
查看次数

标签 统计

homebrew ×1

macos ×1

python ×1

python-2.x ×1