无法使用 Brew 在 Mac 上安装 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?
I am using Brew v0.8 on my Mac OS Lion.
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
How to install Imagemagick?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要更新您的brew安装并重置存储库:
然后您可以运行:
You need to update your brew installation and reset the repository:
Then you can run:
可能是brew 下载ImageMagick 的镜像被移动了。
尝试运行
brew update
,然后再次运行brew install imagemagick
It might be that the mirror that brew downloads ImageMagick from was moved.
Try running
brew update
and thenbrew install imagemagick
again