python - 如何将 netcdf4-python 安装到 ubuntu14.04?

标签 python ubuntu-14.04 netcdf

我想在我的 Ubuntu14.04 上安装 netcdf4-python。安装了 libhdf5-dev_1.8.11_5ubuntu7_amd64.deb 和 libnetcdf-4.1.3-7ubuntu2_amd64.deb。我从 https://pypi.python.org/pypi/netCDF4#downloads 下载了 netcdf4-1.1.8.tar.gz 我尝试通过

配置它
./configure --enable-netcdf-4 –with-hdf5=/usr/include/ --enable-share –prefix=/usr

但我收到以下消息:

bash: ./configure: No such file or directory

我不知道如何安装 netcdf4-python。 如果有人帮助我,我将不胜感激。

最佳答案

我强烈建议使用 Anaconda python 分布。完整的 Anaconda 发行版包括 netcdf4 和所需的库。

关于python - 如何将 netcdf4-python 安装到 ubuntu14.04?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31471751/

相关文章:

python - 如何在 "subprocess.run"函数中使用多个变量?

python - 如何使用 python netCDF4 创建 netCDF 文件?

r - 从 R 中的 netcdf 文件获取月平均值的有效方法

python - 在python中读取包含列表和逗号分隔的文件

python - 如何使用keras-rl进行多智能体训练

python - 如何测试装饰器?

neural-network - 终端输出重定向不适用于 Caffe

ubuntu-14.04 - 为 ruby​​ 脚本创建 apparmor 配置文件

ubuntu-14.04 - ansible 条件 "when"不适用于角色

compilation - 编译并行netCDF时出错