title: Unable to install h5py on windows using pip
body: <p>I am using python version 3.8.5 and I have pip version 20.2.4 on Windows 10 64-bit.
  I need to install the h5py to install Keras library for which I run the command <code>pip install h5py</code> in the cmd . This gives me the following error:</p>
  <pre><code>Collecting h5py
    Using cached h5py-3.1.0.tar.gz (371 kB)
    Installing build dependencies ... done
    Getting requirements to build wheel ... done
    Installing backend dependencies ... done
      Preparing wheel metadata ... done
  Requirement already satisfied: numpy&gt;=1.17.5; python_version == &quot;3.8&quot; in c:\python\python385\lib\site-packages (from h5py) (1.19.4)
  Building wheels for collected packages: h5py
    Building wheel for h5py (PEP 517) ... error
    ERROR: Command errored out with exit status 1:
     command: 'c:\python\python385\python.exe' 'c:\python\python385\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\kavya\AppData\Local\Temp\tmpclucl78r'
         cwd: C:\Users\kavya\AppData\Local\Temp\pip-install-xsxj61fv\h5py
    Complete output (70 lines):
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build\lib.win32-3.8
    creating build\lib.win32-3.8\h5py
    copying h5py\h5py_warnings.py -&gt; build\lib.win32-3.8\h5py
    copying h5py\ipy_completer.py -&gt; build\lib.win32-3.8\h5py
    copying h5py\version.py -&gt; build\lib.win32-3.8\h5py
    copying h5py\__init__.py -&gt; build\lib.win32-3.8\h5py
    creating build\lib.win32-3.8\h5py\_hl
    copying h5py\_hl\attrs.py -&gt; build\lib.win32-3.8\h5py\_hl
    copying h5py\_hl\base.py -&gt; build\lib.win32-3.8\h5py\_hl
    copying h5py\_hl\compat.py -&gt; build\lib.win32-3.8\h5py\_hl
    copying h5py\_hl\dataset.py -&gt; build\lib.win32-3.8\h5py\_hl
    copying h5py\_hl\datatype.py -&gt; build\lib.win32-3.8\h5py\_hl
    copying h5py\_hl\dims.py -&gt; build\lib.win32-3.8\h5py\_hl
    copying h5py\_hl\files.py -&gt; build\lib.win32-3.8\h5py\_hl
    copying h5py\_hl\filters.py -&gt; build\lib.win32-3.8\h5py\_hl
    copying h5py\_hl\group.py -&gt; build\lib.win32-3.8\h5py\_hl
    copying h5py\_hl\selections.py -&gt; build\lib.win32-3.8\h5py\_hl
    copying h5py\_hl\selections2.py -&gt; build\lib.win32-3.8\h5py\_hl
    copying h5py\_hl\vds.py -&gt; build\lib.win32-3.8\h5py\_hl
    copying h5py\_hl\__init__.py -&gt; build\lib.win32-3.8\h5py\_hl
    creating build\lib.win32-3.8\h5py\tests
    copying h5py\tests\common.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\conftest.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_attribute_create.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_attrs.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_attrs_data.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_base.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_big_endian_file.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_completions.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_dataset.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_dataset_getitem.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_dataset_swmr.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_datatype.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_dimension_scales.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_dims_dimensionproxy.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_dtype.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_errors.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_file.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_file2.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_file_image.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_filters.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_group.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_h5.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_h5d_direct_chunk.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_h5f.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_h5p.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_h5pl.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_h5t.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_objects.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_selections.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\test_slicing.py -&gt; build\lib.win32-3.8\h5py\tests
    copying h5py\tests\__init__.py -&gt; build\lib.win32-3.8\h5py\tests
    creating build\lib.win32-3.8\h5py\tests\data_files
    copying h5py\tests\data_files\__init__.py -&gt; build\lib.win32-3.8\h5py\tests\data_files
    creating build\lib.win32-3.8\h5py\tests\test_vds
    copying h5py\tests\test_vds\test_highlevel_vds.py -&gt; build\lib.win32-3.8\h5py\tests\test_vds
    copying h5py\tests\test_vds\test_lowlevel_vds.py -&gt; build\lib.win32-3.8\h5py\tests\test_vds
    copying h5py\tests\test_vds\test_virtual_source.py -&gt; build\lib.win32-3.8\h5py\tests\test_vds
    copying h5py\tests\test_vds\__init__.py -&gt; build\lib.win32-3.8\h5py\tests\test_vds
    copying h5py\tests\data_files\vlen_string_dset.h5 -&gt; build\lib.win32-3.8\h5py\tests\data_files
    copying h5py\tests\data_files\vlen_string_dset_utc.h5 -&gt; build\lib.win32-3.8\h5py\tests\data_files
    copying h5py\tests\data_files\vlen_string_s390x.h5 -&gt; build\lib.win32-3.8\h5py\tests\data_files
    running build_ext
    Loading library to get version: hdf5.dll
    error: Unable to load dependency HDF5, make sure HDF5 is installed properly
    error: Could not find module 'hdf5.dll' (or one of its dependencies). Try using the full path with constructor syntax.
    ----------------------------------------
    ERROR: Failed building wheel for h5py
  Failed to build h5py
  ERROR: Could not build wheels for h5py which use PEP 517 and cannot be installed directly
  </code></pre>
  <p>I get the same problem when I directly install keras using <code>pip install keras</code> as that also requires h5py. I am using pycharm and even installing keras from there is showing an error which I think is because of h5py</p>