无法在Mac OS X El Capitan上安装ImageMagick

时间:2015-11-19 09:35:30

标签: imagemagick homebrew

我无法在Mac上安装ImageMagick:

brew install ImageMagick
==> Downloading http://www.imagemagick.org/download/releases/ImageMagick-6.9.2-4.tar.xz

curl: (22) The requested URL returned error: 404 Not Found
Trying a mirror...
==> Downloading http://ftp.nluug.nl/ImageMagick/ImageMagick-6.9.2-4.tar.xz

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "imagemagick"
Download failed: http://ftp.nluug.nl/ImageMagick/ImageMagick-6.9.2-4.tar.xz

2 个答案:

答案 0 :(得分:1)

卸载brew并再次安装brew后,这非常感谢。

这是安装brew的命令:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

答案 1 :(得分:0)

你有一个过时的自制软件。运行brew update然后重试; ImageMagick以频繁更改URL并打破旧URL而闻名;因此,如果您长时间未更新brew,则可能会出现构建失败。