HDF5 headers missing when installing netCDF4 module for Python

I tried installing the netCDF4 module several times and I keep getting the same error:

Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "C:\Users\User\AppData\Local\Temp\pycharm-packaging0.tmp\netCDF4\setup.py", line 219, in <module>

    raise ValueError('did not find HDF5 headers')

ValueError: did not find HDF5 headers

I tried using the official HDF installer from my website and I still get the same error (although during installation the installation warned me that the PATH is too long and therefore it will not change it.

Where should these header files be? At the moment I (think) them in

C:\Program Files\HDF_Group\HDF5

I am not very familiar with what I need to do? If that matters, I also installed the h5py module.

(Windows 8.1)

0
source share
1 answer

setup.cfg ( setup.cfg.template, ). , HDF5_dir .

+1

All Articles