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

标签 python homebrew macos-sierra

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

相关文章:

python - sqlalchemy.exc.DataError : (psycopg2. DataError)值对于类型字符变化太长(20)

python - aws cli : ERROR:root:code for hash md5 was not found

objective-c - 输入队列回调已调用但没有数据

python - 从python中的切片对象获取索引值

python - python扭曲中的多组聊天服务器

terminal - Homebrew 未安装到/usr/local

r - 通过 Homebrew 软件安装特定版本的 R

python - 在 MacOS Sierra 中的 Apache 上执行 python 脚本

macos - 戈朗 : dyld: Symbol not found: _SecCertificateCopyNormalizedSubjectContent

python - 在 x 的范围内运行 y 值的中值