我目前正在linux集群上的R中运行一些物种分布建模和丰富度映射。为了运行我的分析,我需要安装rgdal,这样我的建模包中的光栅功能才能正常工作。我已经安装了proj4和gdal。然而,当我尝试安装rgdal时,我得到了一个错误消息:
checking for gdal-config... no
no
configure: error: gdal-config not found or not executable.
ERROR: configuration failed for package 'rgdal'
这是我用来安装rgdal包的命令:
install.packag
我有一个django项目,我想在其中使用gdal。我已经安装了所有的依赖项,如果我安装了这些依赖项,它就能正常工作:
$ python3.6
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from osgeo import gdal
>>> gdal
<m
我有一个残酷的时间得到gdal安装。我有一个新的Ubuntu安装和一个虚拟Python 3.6环境,我正在尝试安装GDAL。在处理完所有依赖项需求之后,我现在在运行pip install gdal后得到以下错误
Collecting gdal
Using cached https://files.pythonhosted.org/packages/99/31/2e05c1be3196126fa04028aed51489f40ceea77e8361a80bc8b00fc463db/GDAL-2.3.1.tar.gz
Building wheels for collected packages