Hi,
I can’t solve this problem even i try many related solutions.
Please help me…
Thanks.
My jetpack version is 4.6.4
these are the commands I followed:
$ sudo apt-get update
$ sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev liblapack-dev libblas-dev gfortran
$ sudo apt-get install python3-pip
$ sudo pip3 install -U pip testresources setuptools==49.6.0
$ 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 packaging
$ sudo env H5PY_SETUP_REQUIRES=0 pip3 install -U h5py==3.1.0
Following is the error I get:
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see ImportError in system pip wrappers after an upgrade · Issue #5599 · pypa/pip · GitHub for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with ‘-m pip’ instead of running pip directly.
WARNING: The directory ‘/home/nvidia/.cache/pip’ or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo’s -H flag.
Collecting h5py==3.1.0
Downloading h5py-3.1.0.tar.gz (371 kB)
|████████████████████████████████| 371 kB 4.5 MB/s
Installing build dependencies … done
Getting requirements to build wheel … done
Preparing metadata (pyproject.toml) … done
Requirement already satisfied: numpy>=1.12 in /usr/local/lib/python3.6/dist-packages (from h5py==3.1.0) (1.19.4)
Collecting cached-property
Downloading cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
Building wheels for collected packages: h5py
Building wheel for h5py (pyproject.toml) … error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 /home/nvidia/.local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpcqccjzsi
cwd: /tmp/pip-install-ad4k61gt/h5py_4667be3d2c554d99af97a5c7f3d414b4
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/version.py → build/lib.linux-aarch64-3.6/h5py
copying h5py/init.py → build/lib.linux-aarch64-3.6/h5py
creating build/lib.linux-aarch64-3.6/h5py/_hl
copying h5py/_hl/datatype.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/selections.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/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/dims.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/group.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/init.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/dataset.py → build/lib.linux-aarch64-3.6/h5py/_hl
creating 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_slicing.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_h5p.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_h5t.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_h5d_direct_chunk.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_attrs.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_objects.py → 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_dataset_swmr.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/test_selections.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_h5f.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/common.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_base.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/init.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_h5pl.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_file.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_dims_dimensionproxy.py → build/lib.linux-aarch64-3.6/h5py/tests
copying h5py/tests/test_attrs_data.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_lowlevel_vds.py → 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/data_files/vlen_string_s390x.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_dset.h5 → build/lib.linux-aarch64-3.6/h5py/tests/data_files
running build_ext
warning: h5py/defs.pxd:15:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:62:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:64:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:66:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:68:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:70:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:72:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:74:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:76:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:78:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:102:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:104:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:106:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:107:4: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:109:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:110:4: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:112:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:176:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:193:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:195:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:217:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:245:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:247:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:249:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:251:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:253:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:255:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:261:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:263:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:265:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:267:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:269:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:271:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:273:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:275:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:309:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:311:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:313:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:315:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:317:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:319:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:321:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:323:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:325:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:359:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/defs.pxd:361:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/api_types_hdf5.pxd:48:2: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/api_types_hdf5.pxd:64:2: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/api_types_hdf5.pxd:143:2: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/api_types_hdf5.pxd:148:2: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/api_types_hdf5.pxd:156:2: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/api_types_hdf5.pxd:188:2: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/api_types_hdf5.pxd:315:2: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/api_types_ext.pxd:14:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/api_types_ext.pxd:25:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/api_types_ext.pxd:52:4: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/_conv.pyx:160:8: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/_conv.pyx:421:8: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
warning: h5py/h5r.pxd:17:0: The ‘IF’ statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See Deprecate conditional compilation · Issue #4310 · cython/cython · GitHub
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.pxd:13:23: 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.pyx:21:0: ‘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.pyx:21:0: ‘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.pyx:21:0: ‘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.pyx:21:0: ‘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.pyx:21:0: ‘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.pyx:686:27: ‘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.pyx:687:27: ‘TypeID’ is not a type identifier
Error compiling Cython file:
…
return 0
cdef int conv_ndarray2vlen(void* ipt,
void* opt,
TypeID intype,
^
h5py/_conv.pyx:809:27: ‘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.pyx:810:27: ‘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.pyx:628:8: ‘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.pyx:629:8: ‘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.pyx:741:8: ‘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.pyx:742:8: ‘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.pyx:156:32: ‘H5PY_PYTHON_OPAQUE_TAG’ is not a constant, variable or function identifier
warning: h5py/_conv.pyx:156:32: 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.pyx:644:20: ‘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.pyx:646:18: ‘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.pyx:750:32: ‘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.pyx:752:20: ‘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.pyx:756:28: ‘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.pyx:773:20: ‘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.pyx:774:18: ‘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.pyx:883:12: ‘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-ad4k61gt/h5py_4667be3d2c554d99af97a5c7f3d414b4/h5py/_conv.pyx
Traceback (most recent call last):
File “/home/nvidia/.local/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py”, line 363, in
main()
File “/home/nvidia/.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/nvidia/.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
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-xo3fzvsm/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-ad4k61gt/h5py_4667be3d2c554d99af97a5c7f3d414b4/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-ad4k61gt/h5py_4667be3d2c554d99af97a5c7f3d414b4/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