homebrew - 安装 GDAL 时出现 Homebrew 错误

标签 homebrew gdal

我目前正在处理 Let's make a map我在安装 GDAL 时遇到了困难。这是控制台输出:

brew doctor
Your system is raring to brew.
Toms-MacBook-Pro:~ tomstove$ brew install gdal
==> Installing gdal dependency: sqlite
==> Downloading http://sqlite.org/2013/sqlite-autoconf-3071600.tar.gz
###################################                                       49.8%
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
Error: Download failed: http://sqlite.org/2013/sqlite-autoconf-3071600.tar.gz

我在运行 Mountain Lion 的 Mac 上,所以应该已经安装了 sqlite。任何帮助将不胜感激。

谢谢, 汤姆

最佳答案

http://sqlite.org/不支持续传下载。 前往

cd/Library/Caches/Homebrew 或者如果您配置了其他位置: brew --cache

并删除所有未完成下载的 sqlite 文件(如 rm sqlite*)。

然后试试 brew 安装 sqlite

关于homebrew - 安装 GDAL 时出现 Homebrew 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15628352/

相关文章:

java - PNG 到 GeoJSON(或类似格式)

python - 在 Microsoft Windows 操作系统上的 Python 3.6 上使用 GDAL 安装 Fiona 和 Geopandas 失败?

ruby - Mac OS Mojave : image not found … related to openssl.软件包上的Ruby 2.4

尽管系统上有可用的 tcl-tk,但 R 包 geoR 不会安装在 macOS 上

ruby - Brew 安装 Ruby-Build 失败并显示 : cannot run C compiled programs

python - gdal python 背景不是很透明

ruby - 安装 Ruby 时遇到问题(无法下载资源 "readline--patch")

xcode - 无法使用brew 安装任何东西

Python gdal undefined symbol GDALRasterBandGetVirtualMem

macos - 使用 EXTENSIONS 创建空间数据库时出错