针对你遇到的“gdal-config not found or not executable”错误,可以按照以下步骤进行排查和解决: 检查GDAL是否已经正确安装: 你可以通过运行以下命令来检查GDAL是否已安装以及其版本: bash gdal-config --version 如果系统返回了GDAL的版本号,那么GDAL已经安装。如果返回了错误信息,说明GDAL可能还没有安装,或者gdal-c...
检查系统中是否存在其他针对GDAL库的限制性文件或设置,并将其取消。例如,Windows系统中的"Turn Windows features on or off"设置中可能存在对GDAL库的限制,可以尝试关闭相关选项。 结语 "gdal-config not found or not executable"错误通常是由于GDAL库未正确安装或系统环境不支持其运行所导致的。通过检查系统环境和安...
当你在使用 configure 命令时遇到 error: gdal-config not found or not executable 时,可能会导致 GDL(GDAL)库无法正确配置,从而无法正常地使用 GDL 库中的函数和工具。 这个问题通常出现在 GDL 库的配置文件目录不正确或者存在语法错误或者无效的配置选项的情况下。在这种情况下,需要仔细检查 GDL 库的配置文件目...
install r-base=4.0.5 with gdal=3.2.2 in one conda environment conda create-n r conda activate r conda install-c bioconda r-base=4.0.5 update gdal bioconda::gdal-1.9.2-0 --> conda-forge::gdal-3.2.2 anaconda::hdf5-1.10.1 --> conda-forge::hdf5-1.10.6 updated gdal within env of ...
** using staged installation configure: CC: /share/work/biosoft/gcc/gcc-v6.4.0/bin/gcc configure: CXX: g++ -std=gnu++11 checking for gdal-config... no no configure: error: gdal-config not found or not executable. ERROR: configuration failed for package ‘sf’ ...