相关疑难解决方法(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万
查看次数

MacOS:如何降级自制Python?

我正在运行MacOS Sierra 10.12.4并且我意识到自制的python已升级到版本2.7.13.如何切换回2.7.10?

python macos homebrew

12
推荐指数
2
解决办法
2万
查看次数

Mac 用 brew 安装 python3.6

我想安装 python 3.6 版。当我这样做brew install python时会安装最新版本的 python ie 3.8

我尝试了以下解决方案,但它给了我错误。

brew install --ignore-dependencies https://raw.githubusercontent.com/Homebrew/homebrew-core/f2a764ef944b1080be64bd88dca9a1d80130c558/Formula/python.rb
Run Code Online (Sandbox Code Playgroud)

错误:

错误:从 GitHub 提交 URL 调用安装 python 被禁用!使用 'brew extract python' 来稳定点击 GitHub。

我什至在此链接中尝试了解决方案,但没有奏效。

当我这样做时:

brew search python
Run Code Online (Sandbox Code Playgroud)

我没有找到python@3.6init

python macos homebrew

7
推荐指数
1
解决办法
8816
查看次数

标签 统计

homebrew ×3

macos ×3

python ×3

python-2.x ×1