然后我下载了hdf5-1.10.5和netcdf-4.6.1并存储在桌面上。当我使用目录Desktop/hdf5-1.10.5打开终端并运行以下命令时
./configure --prefix=/usr/local --enable-shared --enable-hl make sudo make install我收到了这个错误:
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: unrecognized options: --enable-hl
configure: netCDF 4.6.1
checking build system type... Invalid configuration `make': machine `make' not recognized
configure: error: /bin/bash ./config.sub make failed发布于 2019-05-17 15:05:24
如果您正在尝试为python安装netCDF4,您可以使用pip install netCDF4从命令行进行安装,它会自动处理任何其他依赖项,如C库。如果您指的是另一个平台,则需要指定哪个平台。
https://stackoverflow.com/questions/55365673
复制相似问题