如何在ubuntu14.04上安装netcdf4-python? [英] How can I install netcdf4-python to ubuntu14.04?

查看:555
本文介绍了如何在ubuntu14.04上安装netcdf4-python?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将netcdf4-python安装到我的Ubuntu14.04.已安装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 /a> 我尝试通过

I would like to install netcdf4-python to my Ubuntu14.04. The libhdf5-dev_1.8.11_5ubuntu7_amd64.deb and libnetcdf-4.1.3-7ubuntu2_amd64.deb are installed. I downloaded netcdf4-1.1.8.tar.gz from https://pypi.python.org/pypi/netCDF4#downloads I tried configure it by

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

但是我收到以下消息:

bash: ./configure: No such file or directory

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

I do not know how I can install netcdf4-python. I would appreciated if someone helped me.

推荐答案

我强烈建议使用 Anaconda Python发行版.完整的Anaconda发行版包括netcdf4和所需的库.

I would strongly recommend using the Anaconda Python distribution. The full Anaconda distribution includes netcdf4 and the required libraries.

这篇关于如何在ubuntu14.04上安装netcdf4-python?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆