anaconda安装netcdf4_For python, install hdf5/netcdf4

在Linux Mint 17.1上尝试安装netcdf4时遇到问题,首先pip安装hdf5失败,提示找不到匹配的版本。尽管h5py已经安装,但安装netcdf4时仍然需要hdf5。错误信息显示找不到'HDF5'头文件。目前不清楚h5py和hdf5之间的关系,以及是否需要手动编译安装hdf5。需要确定如何设置PKG_CONFIG_PATH环境变量,或者找到正确的HDF5_DIR以便成功安装netcdf4。
摘要由CSDN通过智能技术生成

Doing this on a Linux Mint 17.1.

When I try:

pip install hdf5

I get the error

"Could not find a version that satisfies the requirement hdf5 (from versions: )

No matching distribution found for hdf5"

I'm trying in the long run to install netcdf4 but can't do that until I get hdf5 installed. Supposedly from when I was trying to do this last week, with netcdf4, I should be using the pip install netcdf4, err hdf5...at least maybe in the case of hdf5.

If I try pip install h5py I get that the message saying:

Requirement already satisfied (use --upgrade to upgrade): h5py in ./anaconda3/lib/python3.5/site-packages

Requirement already satisfied (use --upgrade to upgrade): numpy>=1.6.1 in ./anaconda3/lib/python3.5/site-packages (from h5py)

Requirement already satisfied (use --upgrade to upgrade): six in ./anaconda3/lib/python3.5/site-packages (from h

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值