无法使用Brew在Mac上安装Imagemagick [英] Can't install Imagemagick on Mac with Brew
本文介绍了无法使用Brew在Mac上安装Imagemagick的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Mac OS Lion上使用Brew v0.8。
I am using Brew v0.8 on my Mac OS Lion.
当我尝试安装Imagemagick时:
When I am trying to install 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?
How to install Imagemagick?
推荐答案
您需要更新brew安装并重置存储库:
You need to update your brew installation and reset the repository:
cd /usr/local
brew update
git reset --hard FETCH_HEAD
然后你可以运行:
brew install imagemagick
这篇关于无法使用Brew在Mac上安装Imagemagick的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文