Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem installation netCDF4-python #305

Closed
kesariverma opened this issue Nov 16, 2014 · 2 comments
Closed

Problem installation netCDF4-python #305

kesariverma opened this issue Nov 16, 2014 · 2 comments

Comments

@kesariverma
Copy link

I am trying to install netCDF4-python in Ubuntu. I tried following commands in terminal for netCDF4

python setup.py install

HDF5_DIR environment variable not set, checking some standard locations ..,
checking /home/keshri ...
checking /usr/local ...
checking /sw ...
checking /opt ...
checking /opt/local ...
checking /usr ...
Traceback (most recent call last):
File "setup.py", line 47, in
raise ValueError('did not find HDF5 headers and libraries')
ValueError: did not find HDF5 headers and libraries
Anyone help me how to solve this error?

@shoyer
Copy link
Contributor

shoyer commented Nov 16, 2014

You need the HDF5 libraries installed. Since you're on Ubuntu, this is pretty easy. Take a look at the apt-get line in the script this library uses for continuous integration testing: https://github.com/Unidata/netcdf4-python/blob/master/.travis.yml

@kesariverma
Copy link
Author

Yes, its working now. Thanks.

@jswhit jswhit closed this as completed Nov 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants