gpt4 book ai didi

python - 使用 Homebrew 安装 Python 3 时出错

转载 作者:太空宇宙 更新时间:2023-11-03 13:35:04 33 4
gpt4 key购买 nike

当我想使用 Homebrew 安装 Python 3 时遇到了问题。

这是我的控制台:

$ brew install python3
Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
==> Installing dependencies for python3: readline, sqlite, gdbm, makedepend, openssl
==> Installing python3 dependency: readline
==> Downloading https://ftpmirror.gnu.org/readline/readline-6.3.tar.gz
Already downloaded: /Users/slorenzo/Library/Caches/Homebrew/readline-6.3.8.tar.gz
==> Downloading https://gist.githubusercontent.com/jacknagel/d886531fb6623b60b2af/raw/746fc543e56bc37

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "readline--patch"
Download failed: https://gist.githubusercontent.com/jacknagel/d886531fb6623b60b2af/raw/746fc543e56bc37a26ccf05d2946a45176b0894e/readline-6.3.8.diff

有谁知道我该如何解决这个问题?

谢谢。

最佳答案

尝试运行:

If Homebrew was updated on Aug 10-11th 2016 and brew update always says Already up-to-date you need to run:

cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update

关于python - 使用 Homebrew 安装 Python 3 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41337676/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com