Cython compile issue for h5py on the jetson nano

The github i followed
This is the code i ran:

 sudo pip3 install -U --no-deps numpy==1.19.4 future==0.18.2 mock==3.0.5 keras_preprocessing==1.1.2 keras_applications==1.0.8 gast==0.4.0 protobuf pybind11 cython pkgconfig
              sudo env H5PY_SETUP_REQUIRES=0 pip3 install -U h5py==3.1.0

and this is the error i got:

  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /home/jetbot/.local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmp1mylv3z0
       cwd: /tmp/pip-install-0tpg5n5m/h5py_2efecd0862c149379e0541888da4a7fb
  Complete output (509 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-aarch64-3.6
  creating build/lib.linux-aarch64-3.6/h5py
  copying h5py/h5py_warnings.py -> build/lib.linux-aarch64-3.6/h5py
  copying h5py/ipy_completer.py -> build/lib.linux-aarch64-3.6/h5py
  copying h5py/__init__.py -> build/lib.linux-aarch64-3.6/h5py
  copying h5py/version.py -> build/lib.linux-aarch64-3.6/h5py
  creating build/lib.linux-aarch64-3.6/h5py/_hl
  copying h5py/_hl/dataset.py -> build/lib.linux-aarch64-3.6/h5py/_hl
  copying h5py/_hl/filters.py -> build/lib.linux-aarch64-3.6/h5py/_hl
  copying h5py/_hl/attrs.py -> build/lib.linux-aarch64-3.6/h5py/_hl
  copying h5py/_hl/selections2.py -> build/lib.linux-aarch64-3.6/h5py/_hl
  copying h5py/_hl/compat.py -> build/lib.linux-aarch64-3.6/h5py/_hl
  copying h5py/_hl/vds.py -> build/lib.linux-aarch64-3.6/h5py/_hl
  copying h5py/_hl/selections.py -> build/lib.linux-aarch64-3.6/h5py/_hl
  copying h5py/_hl/datatype.py -> build/lib.linux-aarch64-3.6/h5py/_hl
  copying h5py/_hl/__init__.py -> build/lib.linux-aarch64-3.6/h5py/_hl
  copying h5py/_hl/base.py -> build/lib.linux-aarch64-3.6/h5py/_hl
  copying h5py/_hl/group.py -> build/lib.linux-aarch64-3.6/h5py/_hl
  copying h5py/_hl/files.py -> build/lib.linux-aarch64-3.6/h5py/_hl
  copying h5py/_hl/dims.py -> build/lib.linux-aarch64-3.6/h5py/_hl
  creating build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_completions.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_selections.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_slicing.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_dataset.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_dimension_scales.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_h5.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_objects.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_attribute_create.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/common.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_attrs.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_big_endian_file.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_datatype.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_h5d_direct_chunk.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_h5t.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_dtype.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_group.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_file.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_attrs_data.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_dataset_getitem.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_dims_dimensionproxy.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/conftest.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_h5pl.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_file2.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_errors.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_h5f.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/__init__.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_filters.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_file_image.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_h5p.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_base.py -> build/lib.linux-aarch64-3.6/h5py/tests
  copying h5py/tests/test_dataset_swmr.py -> build/lib.linux-aarch64-3.6/h5py/tests
  creating build/lib.linux-aarch64-3.6/h5py/tests/data_files
  copying h5py/tests/data_files/__init__.py -> build/lib.linux-aarch64-3.6/h5py/tests/data_files
  creating build/lib.linux-aarch64-3.6/h5py/tests/test_vds
  copying h5py/tests/test_vds/test_virtual_source.py -> build/lib.linux-aarch64-3.6/h5py/tests/test_vds
  copying h5py/tests/test_vds/test_highlevel_vds.py -> build/lib.linux-aarch64-3.6/h5py/tests/test_vds
  copying h5py/tests/test_vds/__init__.py -> build/lib.linux-aarch64-3.6/h5py/tests/test_vds
  copying h5py/tests/test_vds/test_lowlevel_vds.py -> build/lib.linux-aarch64-3.6/h5py/tests/test_vds
  copying h5py/tests/data_files/vlen_string_dset.h5 -> build/lib.linux-aarch64-3.6/h5py/tests/data_files
  copying h5py/tests/data_files/vlen_string_dset_utc.h5 -> build/lib.linux-aarch64-3.6/h5py/tests/data_files
  copying h5py/tests/data_files/vlen_string_s390x.h5 -> build/lib.linux-aarch64-3.6/h5py/tests/data_files
  running build_ext
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See cython/issues/4310
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See ht
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See httcom/cython/cython/issues/4310
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See httcom/cython/cython/issues/4310
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See htt
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See htthon/cython/issues/4310
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See httpthon/cython/issues/4310
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See ht
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See htcom/cython/cython/issues/4310
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See htom/cython/cython/issues/4310
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See htm/cython/cython/issues/4310
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See httcom/cython/cython/issues/4310
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See hcom/cython/cython/issues/4310
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See ht
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See h/cython/cython/issues/4310
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. Seecom/cython/cython/issues/4310
  warning: h5py/defs.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/api_types_hdf5.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/api_types_hdf5.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/api_types_hdf5.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/api_types_hdf5.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/api_types_hdf5.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/api_types_hdf5.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See 
  warning: h5py/api_types_ext.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See ://
  warning: h5py/h5r.: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See ://
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  # License:  Standard 3-clause BSD; see "license.txt" for full license terms
  #           and contributor agreement.
  from .defs cimport *
  from ._objects cimport class ObjectID
                         ^
  ------------------------------------------------------------
  h5py/h5t.: Expected an identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  from logging import getLogger
  from .h5 import get_config
  from .h5r cimport Reference, RegionReference, hobj_ref_t, hdset_reg_ref_t
  from .h5t cimport H5PY_OBJ, typewrap, py_create, TypeID, H5PY_PYTHON_OPAQUE_TAG
  ^
  ------------------------------------------------------------
  h5py/_conv.: 'h5py/h5t/H5PY_OBJ.pxd' not found
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  from logging import getLogger
  from .h5 import get_config
  from .h5r cimport Reference, RegionReference, hobj_ref_t, hdset_reg_ref_t
  from .h5t cimport H5PY_OBJ, typewrap, py_create, TypeID, H5PY_PYTHON_OPAQUE_TAG
  ^
  ------------------------------------------------------------
  h5py/_conv.: 'h5py/h5t/typewrap.pxd' not found
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  from logging import getLogger
  from .h5 import get_config
  from .h5r cimport Reference, RegionReference, hobj_ref_t, hdset_reg_ref_t
  from .h5t cimport H5PY_OBJ, typewrap, py_create, TypeID, H5PY_PYTHON_OPAQUE_TAG
  ^
  ------------------------------------------------------------
  h5py/_conv.: 'h5py/h5t/py_create.pxd' not found
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  from logging import getLogger
  from .h5 import get_config
  from .h5r cimport Reference, RegionReference, hobj_ref_t, hdset_reg_ref_t
  from .h5t cimport H5PY_OBJ, typewrap, py_create, TypeID, H5PY_PYTHON_OPAQUE_TAG
  ^
  ------------------------------------------------------------
  h5py/_conv.: 'h5py/h5t/TypeID.pxd' not found
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  from logging import getLogger
  from .h5 import get_config
  from .h5r cimport Reference, RegionReference, hobj_ref_t, hdset_reg_ref_t
  from .h5t cimport H5PY_OBJ, typewrap, py_create, TypeID, H5PY_PYTHON_OPAQUE_TAG
  ^
  ------------------------------------------------------------
  h5py/_conv.: 'h5py/h5t/H5PY_PYTHON_OPAQUE_TAG.pxd' not found
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      void* ptr
  cdef int conv_vlen2ndarray(void* ipt,
                             void* opt,
                             cnp.dtype elem_dtype,
                             TypeID intype,
                             ^
  ------------------------------------------------------------
  h5py/_conv.: 'TypeID' is not a type identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  cdef int conv_vlen2ndarray(void* ipt,
                             void* opt,
                             cnp.dtype elem_dtype,
                             TypeID intype,
                             TypeID outtype) except -1:
                             ^
  ------------------------------------------------------------
  h5py/_conv.: 'TypeID' is not a type identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      return 0
  cdef int conv_ndarray2vlen(void* ipt,
                             void* opt,
                             TypeID intype,
                             ^
  ------------------------------------------------------------
  h5py/_conv.: 'TypeID' is not a type identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  cdef int conv_ndarray2vlen(void* ipt,
                             void* opt,
                             TypeID intype,
                             TypeID outtype) except -1:
                             ^
  ------------------------------------------------------------
  h5py/_conv.: 'TypeID' is not a type identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      :return: error-code
      """
      cdef:
          int command = cdata[0].command
          size_t src_size, dst_size
          TypeID supertype
          ^
  ------------------------------------------------------------
  h5py/_conv.: 'TypeID' is not a type identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      """
      cdef:
          int command = cdata[0].command
          size_t src_size, dst_size
          TypeID supertype
          TypeID outtype
          ^
  ------------------------------------------------------------
  h5py/_conv.: 'TypeID' is not a type identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
                           void *bkg_i,
                           hid_t dxpl) except -1 with gil:
      cdef:
          int command = cdata[0].command
          size_t src_size, dst_size
          TypeID supertype
          ^
  ------------------------------------------------------------
  h5py/_conv.: 'TypeID' is not a type identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
                           hid_t dxpl) except -1 with gil:
      cdef:
          int command = cdata[0].command
          size_t src_size, dst_size
          TypeID supertype
          TypeID outtype
          ^
  ------------------------------------------------------------
  h5py/_conv.: 'TypeID' is not a type identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      cdef char* ctag = NULL
      try:
          if H5Tget_class(obj) == H5T_OPAQUE:
              ctag = H5Tget_tag(obj)
              if ctag != NULL:
                  if strcmp(ctag, H5PY_PYTHON_OPAQUE_TAG) == 0:
                                  ^
  ------------------------------------------------------------
  h5py/_conv.: 'H5PY_PYTHON_OPAQUE_TAG' is not a constant, variable or function identifier
  warning: h5py/_conv.: Obtaining 'const char *' from externally modifiable global Python value
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      elif command == H5T_CONV_FREE:
          pass
      elif command == H5T_CONV_CONV:
          # need to pass element dtype to converter
          supertype = typewrap(H5Tget_super(src_id))
                      ^
  ------------------------------------------------------------
  h5py/_conv.: 'typewrap' is not a constant, variable or function identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      elif command == H5T_CONV_CONV:
          # need to pass element dtype to converter
          supertype = typewrap(H5Tget_super(src_id))
          dt = supertype.dtype
          outtype = py_create(dt)
                    ^
  ------------------------------------------------------------
  h5py/_conv.: 'py_create' is not a constant, variable or function identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          PyObject *pdata_elem
          char* buf = <char*>buf_i
      if command == H5T_CONV_INIT:
          cdata[0].need_bkg = H5T_BKG_NO
          if not H5Tequal(src_id, H5PY_OBJ) or H5Tget_class(dst_id) != H5T_VLEN:
                                  ^
  ------------------------------------------------------------
  h5py/_conv.: 'H5PY_OBJ' is not a constant, variable or function identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      if command == H5T_CONV_INIT:
          cdata[0].need_bkg = H5T_BKG_NO
          if not H5Tequal(src_id, H5PY_OBJ) or H5Tget_class(dst_id) != H5T_VLEN:
              return -2
          supertype = typewrap(H5Tget_super(dst_id))
                      ^
  ------------------------------------------------------------
  h5py/_conv.: 'typewrap' is not a constant, variable or function identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
              return -2
          supertype = typewrap(H5Tget_super(dst_id))
          for i in range(nl):
              # smells a lot
              memcpy(&pdata_elem, pdata+i, sizeof(pdata_elem))
              if supertype != py_create((<cnp.ndarray> pdata_elem).dtype, 1):
                              ^
  ------------------------------------------------------------
  h5py/_conv.: 'py_create' is not a constant, variable or function identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          if nl == 0:
              return 0
          # need to pass element dtype to converter
          pdata_elem = pdata[0]
          supertype = py_create((<cnp.ndarray> pdata_elem).dtype)
                      ^
  ------------------------------------------------------------
  h5py/_conv.: 'py_create' is not a constant, variable or function identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
              return 0
          # need to pass element dtype to converter
          pdata_elem = pdata[0]
          supertype = py_create((<cnp.ndarray> pdata_elem).dtype)
          outtype = typewrap(H5Tget_super(dst_id))
                    ^
  ------------------------------------------------------------
  h5py/_conv.: 'typewrap' is not a constant, variable or function identifier
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      enum = H5Tenum_create(H5T_STD_I32LE)
      vlentype = H5Tvlen_create(H5T_STD_I32LE)
      pyobj = H5PY_OBJ
              ^
  ------------------------------------------------------------
  h5py/_conv.: 'H5PY_OBJ' is not a constant, variable or function identifier
  Loading library to get version: /usr/lib/aarch64-linux-gnu/hdf5/serial/libhdf5.so
  ********************************************************************************
                         Summary of the h5py configuration
  HDF5 include dirs: [
    '/usr/include/hdf5/serial'
  ]
  HDF5 library dirs: [
    '/usr/lib/aarch64-linux-gnu/hdf5/serial'
  ]
       HDF5 Version: (1, 10, 0)
        MPI Enabled: False
   Rebuild Required: True
  ********************************************************************************
  Executing api_gen rebuild of defs
  Executing cythonize()
  [ 1/24] Cythonizing /tmp/pip-install-0tpg5n5m/h5py_2efecd0862c149379e0541888da4a7fb/h5py/_conv.pyx
  Traceback (most recent call last):
    File "/home/jetbot/.local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
      main()
    File "/home/jetbot/.local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/jetbot/.local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 262, in build_wheel
      metadata_directory)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/build_meta.py", line 230, in build_wheel
      wheel_directory, config_settings)
    File "/usr/local/lib/python3.6/dist-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
      self.run_setup()
    File "/usr/local/lib/python3.6/dist-packages/setuptools/build_meta.py", line 158, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 183, in <module>
      cmdclass = CMDCLASS,
    File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 163, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-qf4oqyfk/overlay/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/tmp/pip-install-0tpg5n5m/h5py_2efecd0862c149379e0541888da4a7fb/setup_build.py", line 171, in run
      language_level=3)
    File "/usr/local/lib/python3.6/dist-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
      cythonize_one(*args)
    File "/usr/local/lib/python3.6/dist-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
      raise CompileError(None, pyx_file)
  Cython.Compiler.Errors.CompileError: /tmp/pip-install-0tpg5n5m/h5py_2efecd0862c149379e0541888da4a7fb/h5py/_conv.pyx
  ----------------------------------------
  ERROR: Failed building wheel for h5py
Failed to build h5py
ERROR: Could not build wheels for h5py, which is required to install pyproject.toml-based projects

pls let me know if there is any way to fix this error
NOTE: I removed or altered the github links that the error was giving

Hi,
Please try

Jetson/L4T/TRT Customized Example - eLinux.org
Jetson/L4T/TRT Customized Example - eLinux.org

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.