imagemagick - 无法使用 Brew 在 Mac 上安装 Imagemagick

标签 imagemagick

我在 Mac OS Lion 上使用 Brew v0.8。

当我尝试安装 Imagemagick 时:

MacBook-kir:rails kir$ brew install imagemagick
/usr/bin/git
==> Cloning https://github.com/adamv/ImageMagick.git
Cloning into /Users/kir/Library/Caches/Homebrew/imagemagick--git...
fatal: https://github.com/adamv/ImageMagick.git/info/refs not found: did you run git update-server-info on the server?
Error: Failure while executing: git clone --depth 1 https://github.com/adamv/ImageMagick.git /Users/kir/Library/Caches/Homebrew/imagemagick--git

如何安装Imagemagick?

最佳答案

您需要更新您的brew安装并重置存储库:

cd /usr/local
brew update
git reset --hard FETCH_HEAD

然后你可以运行:

brew install imagemagick

关于imagemagick - 无法使用 Brew 在 Mac 上安装 Imagemagick,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7434008/

相关文章:

node.js - 在 graphicsmagick 中从远程流创建 GIF

php shell_exec 不适用于 imagemagick 命令

ffmpeg - 从命令行使半个图像透明

ruby-on-rails - 在pkg-config搜索路径中找不到软件包MagickCore

bash - 需要裁剪+调整 ~300000 个文件。运行时间 = 4 天以上。我怎样才能加快我的 bash 脚本?

imagemagick - 在整个图像上自动调平,同时仅从较小区域采样

c++ - 如何在 imagemagick 中将 base64 编码图像转换为 PNG?

windows - ImageMagick:粗体和斜体字体?

c - 如何获取 MagickWand 持有的图像数量?

ruby-on-rails - Paperclip 是否可以生成新图像(没有来源)?