title: Error while Installing tensorflow on aarch64
body: <p>I am new to Tensorflow and Python. I am trying to install the tenserflow on the aarch64 platform. I am getting the multiple errors while installing.</p>
  <pre><code>pip -V
  pip 20.2.4
  python3 -V
  Python 3.7.8
  </code></pre>
  <p>Trying to install</p>
  <pre><code>pip install tensorflow-2.3.0-cp37-none-linux_aarch64.whl
  </code></pre>
  <ol>
  <li>scipy issue - hang at this package (wait for &gt;30 minute)</li>
  </ol>
  <pre><code>pip install scipy==1.4.1
  Collecting scipy==1.4.1
    Using cached scipy-1.4.1.tar.gz (24.6 MB)
    Installing build dependencies ... -
  </code></pre>
  <p>Resolved above error, rename the whl file to 'scipy-1.4.1-cp37-<strong>none-any</strong>.whl'</p>
  <p>Now,
  2. Error H5py and grpcio package</p>
  <pre><code>Building wheel for h5py (setup.py) ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'/tmp/pip-install-tc9d3e6a/h5py/setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'/tmp/pip-install-tc9d3e6a/h5py/setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' bdist_wheel -d /tmp/pip-wheel-77z7aeys
         cwd: /tmp/pip-install-tc9d3e6a/h5py/
    Complete output (64 lines):
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build/lib.linux-aarch64-3.7
    creating build/lib.linux-aarch64-3.7/h5py
    copying h5py/version.py -&gt; build/lib.linux-aarch64-3.7/h5py
    copying h5py/ipy_completer.py -&gt; build/lib.linux-aarch64-3.7/h5py
    copying h5py/highlevel.py -&gt; build/lib.linux-aarch64-3.7/h5py
    copying h5py/h5py_warnings.py -&gt; build/lib.linux-aarch64-3.7/h5py
    copying h5py/__init__.py -&gt; build/lib.linux-aarch64-3.7/h5py
    creating build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/vds.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/selections2.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/selections.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/group.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/filters.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/files.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/dims.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/datatype.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/dataset.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/compat.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/base.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/attrs.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/__init__.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    creating build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_threads.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_slicing.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_selections.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_objects.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_h5t.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_h5pl.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_h5p.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_h5f.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_h5d_direct_chunk.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_h5.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_group.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_filters.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_file_image.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_file2.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_file.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_dtype.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_dims_dimensionproxy.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_dimension_scales.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_deprecation.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_datatype.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_dataset_swmr.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_dataset_getitem.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_dataset.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_completions.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_base.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_attrs_data.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_attrs.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_attribute_create.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/common.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/__init__.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    creating build/lib.linux-aarch64-3.7/h5py/tests/test_vds
    copying h5py/tests/test_vds/test_virtual_source.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests/test_vds
    copying h5py/tests/test_vds/test_lowlevel_vds.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests/test_vds
    copying h5py/tests/test_vds/test_highlevel_vds.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests/test_vds
    copying h5py/tests/test_vds/__init__.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests/test_vds
    running build_ext
    Loading library to get version: libhdf5.so
    error: libhdf5.so: cannot open shared object file: No such file or directory
    ----------------------------------------
    ERROR: Failed building wheel for h5py
    Running setup.py clean for h5py
    Building wheel for wrapt (setup.py) ... done
    Created wheel for wrapt: filename=wrapt-1.12.1-cp37-cp37m-linux_aarch64.whl size=73673 sha256=519c1644261286c7765d6a1670caddd6eaada06528c01ed7220c9097dec827c1
    Stored in directory: /home/root/.cache/pip/wheels/62/76/4c/aa25851149f3f6d9785f6c869387ad82b3fd37582fa8147ac6
    Building wheel for grpcio (setup.py) ... -
  </code></pre>
  <p>Error Resolved by downloading the whl file of grcpio from,
  <a href="https://www.piwheels.org/project/grpcio/#install" rel="nofollow noreferrer">https://www.piwheels.org/project/grpcio/#install</a></p>
  <p>Next error, H5py package issue.  (<strong>Hang here :(</strong> )</p>
  <pre><code>pip install tensorflow-2.3.0-cp37-none-linux_aarch64.whl
  Processing ./tensorflow-2.3.0-cp37-none-linux_aarch64.whl
  Requirement already satisfied: absl-py&gt;=0.7.0 in /usr/lib/python3.7/site-packages (from tensorflow==2.3.0) (0.7.0)
  Requirement already satisfied: protobuf&gt;=3.9.2 in /usr/lib/python3.7/site-packages (from tensorflow==2.3.0) (3.13.0)
  Requirement already satisfied: tensorboard&lt;3,&gt;=2.3.0 in /usr/lib/python3.7/site-packages (from tensorflow==2.3.0) (2.3.0)
  Requirement already satisfied: termcolor&gt;=1.1.0 in /usr/lib/python3.7/site-packages (from tensorflow==2.3.0) (1.1.0)
  Requirement already satisfied: scipy==1.4.1 in /usr/lib/python3.7/site-packages (from tensorflow==2.3.0) (1.4.1)
  Processing ./.cache/pip/wheels/62/76/4c/aa25851149f3f6d9785f6c869387ad82b3fd37582fa8147ac6/wrapt-1.12.1-cp37-cp37m-linux_aarch64.whl
  Requirement already satisfied: numpy&lt;1.19.0,&gt;=1.16.0 in /usr/lib/python3.7/site-packages (from tensorflow==2.3.0) (1.17.0)
  Requirement already satisfied: gast==0.3.3 in /usr/lib/python3.7/site-packages (from tensorflow==2.3.0) (0.3.3)
  Requirement already satisfied: six&gt;=1.12.0 in /usr/lib/python3.7/site-packages (from tensorflow==2.3.0) (1.15.0)
  Requirement already satisfied: grpcio&gt;=1.8.6 in /usr/lib/python3.7/site-packages (from tensorflow==2.3.0) (1.33.2)
  Collecting h5py&lt;2.11.0,&gt;=2.10.0
    Using cached h5py-2.10.0.tar.gz (301 kB)
  Requirement already satisfied: keras-preprocessing&lt;1.2,&gt;=1.1.1 in /usr/lib/python3.7/site-packages (from tensorflow==2.3.0) (1.1.2)
  Collecting opt-einsum&gt;=2.3.2
    Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB)
  Collecting tensorflow-estimator&lt;2.4.0,&gt;=2.3.0
    Using cached tensorflow_estimator-2.3.0-py2.py3-none-any.whl (459 kB)
  Requirement already satisfied: google-pasta&gt;=0.1.8 in /usr/lib/python3.7/site-packages (from tensorflow==2.3.0) (0.2.0)
  Requirement already satisfied: astunparse==1.6.3 in /usr/lib/python3.7/site-packages (from tensorflow==2.3.0) (1.6.3)
  Requirement already satisfied: wheel&gt;=0.26 in /usr/lib/python3.7/site-packages (from tensorflow==2.3.0) (0.35.1)
  Requirement already satisfied: setuptools in /usr/lib/python3.7/site-packages (from protobuf&gt;=3.9.2-&gt;tensorflow==2.3.0) (50.3.2)
  Requirement already satisfied: werkzeug&gt;=0.11.15 in /usr/lib/python3.7/site-packages (from tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (0.14.1)
  Requirement already satisfied: google-auth&lt;2,&gt;=1.6.3 in /usr/lib/python3.7/site-packages (from tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (1.23.0)
  Requirement already satisfied: requests&lt;3,&gt;=2.21.0 in /usr/lib/python3.7/site-packages (from tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (2.22.0)
  Requirement already satisfied: google-auth-oauthlib&lt;0.5,&gt;=0.4.1 in /usr/lib/python3.7/site-packages (from tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (0.4.2)
  Requirement already satisfied: markdown&gt;=2.6.8 in /usr/lib/python3.7/site-packages (from tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (3.0.1)
  Requirement already satisfied: tensorboard-plugin-wit&gt;=1.6.0 in /usr/lib/python3.7/site-packages (from tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (1.7.0)
  Requirement already satisfied: rsa&lt;5,&gt;=3.1.4; python_version &gt;= &quot;3.5&quot; in /usr/lib/python3.7/site-packages (from google-auth&lt;2,&gt;=1.6.3-&gt;tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (4.6)
  Requirement already satisfied: cachetools&lt;5.0,&gt;=2.0.0 in /usr/lib/python3.7/site-packages (from google-auth&lt;2,&gt;=1.6.3-&gt;tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (4.1.1)
  Requirement already satisfied: pyasn1-modules&gt;=0.2.1 in /usr/lib/python3.7/site-packages (from google-auth&lt;2,&gt;=1.6.3-&gt;tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (0.2.8)
  Requirement already satisfied: chardet&lt;3.1.0,&gt;=3.0.2 in /usr/lib/python3.7/site-packages (from requests&lt;3,&gt;=2.21.0-&gt;tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (3.0.4)
  Requirement already satisfied: idna&lt;2.9,&gt;=2.5 in /usr/lib/python3.7/site-packages (from requests&lt;3,&gt;=2.21.0-&gt;tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (2.8)
  Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,&lt;1.26,&gt;=1.21.1 in /usr/lib/python3.7/site-packages (from requests&lt;3,&gt;=2.21.0-&gt;tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (1.25.6)
  Requirement already satisfied: certifi&gt;=2017.4.17 in /usr/lib/python3.7/site-packages (from requests&lt;3,&gt;=2.21.0-&gt;tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (2019.9.11)
  Requirement already satisfied: requests-oauthlib&gt;=0.7.0 in /usr/lib/python3.7/site-packages (from google-auth-oauthlib&lt;0.5,&gt;=0.4.1-&gt;tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (1.3.0)
  Requirement already satisfied: pyasn1&gt;=0.1.3 in /usr/lib/python3.7/site-packages (from rsa&lt;5,&gt;=3.1.4; python_version &gt;= &quot;3.5&quot;-&gt;google-auth&lt;2,&gt;=1.6.3-&gt;tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (0.4.7)
  Requirement already satisfied: oauthlib&gt;=3.0.0 in /usr/lib/python3.7/site-packages (from requests-oauthlib&gt;=0.7.0-&gt;google-auth-oauthlib&lt;0.5,&gt;=0.4.1-&gt;tensorboard&lt;3,&gt;=2.3.0-&gt;tensorflow==2.3.0) (3.1.0)
  Building wheels for collected packages: h5py
    Building wheel for h5py (setup.py) ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'/tmp/pip-install-glz1u_0g/h5py/setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'/tmp/pip-install-glz1u_0g/h5py/setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' bdist_wheel -d /tmp/pip-wheel-heaudpgr
         cwd: /tmp/pip-install-glz1u_0g/h5py/
    Complete output (64 lines):
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build/lib.linux-aarch64-3.7
    creating build/lib.linux-aarch64-3.7/h5py
    copying h5py/version.py -&gt; build/lib.linux-aarch64-3.7/h5py
    copying h5py/ipy_completer.py -&gt; build/lib.linux-aarch64-3.7/h5py
    copying h5py/highlevel.py -&gt; build/lib.linux-aarch64-3.7/h5py
    copying h5py/h5py_warnings.py -&gt; build/lib.linux-aarch64-3.7/h5py
    copying h5py/__init__.py -&gt; build/lib.linux-aarch64-3.7/h5py
    creating build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/vds.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/selections2.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/selections.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/group.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/filters.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/files.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/dims.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/datatype.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/dataset.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/compat.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/base.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/attrs.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    copying h5py/_hl/__init__.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
    creating build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_threads.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_slicing.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_selections.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_objects.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_h5t.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_h5pl.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_h5p.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_h5f.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_h5d_direct_chunk.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_h5.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_group.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_filters.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_file_image.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_file2.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_file.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_dtype.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_dims_dimensionproxy.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_dimension_scales.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_deprecation.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_datatype.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_dataset_swmr.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_dataset_getitem.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_dataset.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_completions.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_base.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_attrs_data.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_attrs.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/test_attribute_create.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/common.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    copying h5py/tests/__init__.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
    creating build/lib.linux-aarch64-3.7/h5py/tests/test_vds
    copying h5py/tests/test_vds/test_virtual_source.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests/test_vds
    copying h5py/tests/test_vds/test_lowlevel_vds.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests/test_vds
    copying h5py/tests/test_vds/test_highlevel_vds.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests/test_vds
    copying h5py/tests/test_vds/__init__.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests/test_vds
    running build_ext
    Loading library to get version: libhdf5.so
    error: libhdf5.so: cannot open shared object file: No such file or directory
    ----------------------------------------
    ERROR: Failed building wheel for h5py
    Running setup.py clean for h5py
  Failed to build h5py
  Installing collected packages: wrapt, h5py, opt-einsum, tensorflow-estimator, tensorflow
    Attempting uninstall: h5py
      Found existing installation: h5py 2.9.0
      Uninstalling h5py-2.9.0:
        Successfully uninstalled h5py-2.9.0
      Running setup.py install for h5py ... error
      ERROR: Command errored out with exit status 1:
       command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'/tmp/pip-install-glz1u_0g/h5py/setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'/tmp/pip-install-glz1u_0g/h5py/setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' install --record /tmp/pip-record-nl0kilnr/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.7m/h5py
           cwd: /tmp/pip-install-glz1u_0g/h5py/
      Complete output (64 lines):
      running install
      running build
      running build_py
      creating build
      creating build/lib.linux-aarch64-3.7
      creating build/lib.linux-aarch64-3.7/h5py
      copying h5py/version.py -&gt; build/lib.linux-aarch64-3.7/h5py
      copying h5py/ipy_completer.py -&gt; build/lib.linux-aarch64-3.7/h5py
      copying h5py/highlevel.py -&gt; build/lib.linux-aarch64-3.7/h5py
      copying h5py/h5py_warnings.py -&gt; build/lib.linux-aarch64-3.7/h5py
      copying h5py/__init__.py -&gt; build/lib.linux-aarch64-3.7/h5py
      creating build/lib.linux-aarch64-3.7/h5py/_hl
      copying h5py/_hl/vds.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
      copying h5py/_hl/selections2.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
      copying h5py/_hl/selections.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
      copying h5py/_hl/group.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
      copying h5py/_hl/filters.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
      copying h5py/_hl/files.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
      copying h5py/_hl/dims.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
      copying h5py/_hl/datatype.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
      copying h5py/_hl/dataset.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
      copying h5py/_hl/compat.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
      copying h5py/_hl/base.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
      copying h5py/_hl/attrs.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
      copying h5py/_hl/__init__.py -&gt; build/lib.linux-aarch64-3.7/h5py/_hl
      creating build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_threads.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_slicing.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_selections.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_objects.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_h5t.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_h5pl.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_h5p.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_h5f.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_h5d_direct_chunk.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_h5.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_group.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_filters.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_file_image.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_file2.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_file.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_dtype.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_dims_dimensionproxy.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_dimension_scales.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_deprecation.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_datatype.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_dataset_swmr.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_dataset_getitem.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_dataset.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_completions.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_base.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_attrs_data.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_attrs.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/test_attribute_create.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/common.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      copying h5py/tests/__init__.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests
      creating build/lib.linux-aarch64-3.7/h5py/tests/test_vds
      copying h5py/tests/test_vds/test_virtual_source.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests/test_vds
      copying h5py/tests/test_vds/test_lowlevel_vds.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests/test_vds
      copying h5py/tests/test_vds/test_highlevel_vds.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests/test_vds
      copying h5py/tests/test_vds/__init__.py -&gt; build/lib.linux-aarch64-3.7/h5py/tests/test_vds
      running build_ext
      Loading library to get version: libhdf5.so
      error: libhdf5.so: cannot open shared object file: No such file or directory
      ----------------------------------------
    Rolling back uninstall of h5py
    Moving to /usr/lib/python3.7/site-packages/h5py
     from /usr/lib/python3.7/site-packages/~5py
    Moving to /usr/lib/python3.7/site-packages/h5py-2.9.0-py3.7.egg-info
     from /usr/lib/python3.7/site-packages/~5py-2.9.0-py3.7.egg-info
  ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '&quot;'&quot;'/tmp/pip-install-glz1u_0g/h5py/setup.py'&quot;'&quot;'; __file__='&quot;'&quot;'/tmp/pip-install-glz1u_0g/h5py/setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' install --record /tmp/pip-record-nl0kilnr/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.7m/h5py Check the logs for full command output.
  </code></pre>
  <p>Thanks in advance</p>