繁体   English   中英

使用Homebrew安装Python 3时出错

[英]Error installing Python 3 with Homebrew

当我想使用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

有谁知道我怎么能解决这个问题?

谢谢。

试试跑步:

如果Homebrew在2016年8月10日至11日brew updatebrew update总是说Already up-to-date您需要运行:

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

您正在使用旧版本的Homebrew。 未能下载的补丁文件已于2016年9月从配方中删除 ,并且关于macOS 10.12为“预发布版本”的警告显然不再正确。

运行brew update然后重试。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM