安装netcdf4python时出错

2024-06-23 19:18:55 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图通过以下步骤安装netcdf4 python https://code.google.com/archive/p/netcdf4-python/wikis/UbuntuInstall.wiki 我已经成功地安装了HDF5,但是当我安装netCDF4时,在“make”命令中,出现以下错误

collect2: error: ld returned 1 exit status
Makefile:682: recipe for target 'ncgen3' failed
make[2]: *** [ncgen3] Error 1
make[2]: Leaving directory '/home/farook/Downloads/netcdf-4.4.1/ncgen3'
Makefile:691: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/farook/Downloads/netcdf-4.4.1'
Makefile:538: recipe for target 'all' failed
make: *** [all] Error 2

Tags: targethomeformakedownloadsrecipeerrorall

热门问题