Closed wltz closed 4 years ago
try run 'sudo apt install libhdf5-dev' before
@wltz hey, do you figure this out? I meet the same question as you do.Please help.
@wltz hey, do you figure this out? I meet the same question as you do.Please help.
yes,i installed hdf5 by apt
@Jarvis-Cai try this:
$ sudo apt-get install python-h5py
Works for me
same error, what should centos 7 resolve this problem ?
same error, what should centos 7 resolve this problem ?
https://support.hdfgroup.org/ftp/HDF5/releases/ There is the release page. you can download prebuild binary or build from source
same error
I am trying to install tensorflow-1.14.0-cp27-none-linux_aarch64.whl on a development board. Development board has Debian, Release 10 installed. Python 2.7 I had installed the dependences. Did anyone encounter this issue too? Thanks!
After executing "pip install --user tensorflow-1.14.0-cp27-none-linux_aarch64.whl", I got following error:
Installed /tmp/pip-install-rPQoSI/h5py/.eggs/Cython-0.29.13-py2.7-linux-aarch64.egg running bdist_wheel running build running build_py creating build creating build/lib.linux-aarch64-2.7 creating build/lib.linux-aarch64-2.7/h5py copying h5py/highlevel.py -> build/lib.linux-aarch64-2.7/h5py copying h5py/h5py_warnings.py -> build/lib.linux-aarch64-2.7/h5py copying h5py/ipy_completer.py -> build/lib.linux-aarch64-2.7/h5py copying h5py/init.py -> build/lib.linux-aarch64-2.7/h5py copying h5py/version.py -> build/lib.linux-aarch64-2.7/h5py creating build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/group.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/attrs.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/datatype.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/compat.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/init.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/files.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/selections.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/base.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/dims.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/dataset.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/vds.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/selections2.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/filters.py -> build/lib.linux-aarch64-2.7/h5py/_hl creating build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_completions.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_attribute_create.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_threads.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_file_image.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_file2.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_base.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_dimension_scales.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_dataset_swmr.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_h5d_direct_chunk.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_group.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_slicing.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_deprecation.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_h5f.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_h5.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_attrs_data.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/init.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_dtype.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_dataset_getitem.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_selections.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_dims_dimensionproxy.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_h5p.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_filters.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_dataset.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_attrs.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/common.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_datatype.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_h5pl.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_objects.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_h5t.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_file.py -> build/lib.linux-aarch64-2.7/h5py/tests creating build/lib.linux-aarch64-2.7/h5py/tests/test_vds copying h5py/tests/test_vds/init.py -> build/lib.linux-aarch64-2.7/h5py/tests/test_vds copying h5py/tests/test_vds/test_lowlevel_vds.py -> build/lib.linux-aarch64-2.7/h5py/tests/test_vds copying h5py/tests/test_vds/test_highlevel_vds.py -> build/lib.linux-aarch64-2.7/h5py/tests/test_vds copying h5py/tests/test_vds/test_virtual_source.py -> build/lib.linux-aarch64-2.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: keras-preprocessing, enum34, h5py, keras-applications, futures, grpcio, setuptools, markdown, werkzeug, absl-py, protobuf, tensorboard, gast, google-pasta, tensorflow-estimator, backports.weakref, wrapt, termcolor, astor, tensorflow Found existing installation: Keras-Preprocessing 1.0.3 Uninstalling Keras-Preprocessing-1.0.3: Successfully uninstalled Keras-Preprocessing-1.0.3 Running setup.py install for h5py ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rPQoSI/h5py/setup.py'"'"'; file='"'"'/tmp/pip-install-rPQoSI/h5py/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-lEbOfd/install-record.txt --single-version-externally-managed --compile --user --prefix= cwd: /tmp/pip-install-rPQoSI/h5py/ Complete output (64 lines): running install running build running build_py creating build creating build/lib.linux-aarch64-2.7 creating build/lib.linux-aarch64-2.7/h5py copying h5py/highlevel.py -> build/lib.linux-aarch64-2.7/h5py copying h5py/h5py_warnings.py -> build/lib.linux-aarch64-2.7/h5py copying h5py/ipy_completer.py -> build/lib.linux-aarch64-2.7/h5py copying h5py/init.py -> build/lib.linux-aarch64-2.7/h5py copying h5py/version.py -> build/lib.linux-aarch64-2.7/h5py creating build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/group.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/attrs.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/datatype.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/compat.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/init.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/files.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/selections.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/base.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/dims.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/dataset.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/vds.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/selections2.py -> build/lib.linux-aarch64-2.7/h5py/_hl copying h5py/_hl/filters.py -> build/lib.linux-aarch64-2.7/h5py/_hl creating build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_completions.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_attribute_create.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_threads.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_file_image.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_file2.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_base.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_dimension_scales.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_dataset_swmr.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_h5d_direct_chunk.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_group.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_slicing.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_deprecation.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_h5f.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_h5.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_attrs_data.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/init.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_dtype.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_dataset_getitem.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_selections.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_dims_dimensionproxy.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_h5p.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_filters.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_dataset.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_attrs.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/common.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_datatype.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_h5pl.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_objects.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_h5t.py -> build/lib.linux-aarch64-2.7/h5py/tests copying h5py/tests/test_file.py -> build/lib.linux-aarch64-2.7/h5py/tests creating build/lib.linux-aarch64-2.7/h5py/tests/test_vds copying h5py/tests/test_vds/init.py -> build/lib.linux-aarch64-2.7/h5py/tests/test_vds copying h5py/tests/test_vds/test_lowlevel_vds.py -> build/lib.linux-aarch64-2.7/h5py/tests/test_vds copying h5py/tests/test_vds/test_highlevel_vds.py -> build/lib.linux-aarch64-2.7/h5py/tests/test_vds copying h5py/tests/test_vds/test_virtual_source.py -> build/lib.linux-aarch64-2.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: Command errored out with exit status 1: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rPQoSI/h5py/setup.py'"'"'; file='"'"'/tmp/pip-install-rPQoSI/h5py/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-lEbOfd/install-record.txt --single-version-externally-managed --compile --user --prefix= Check the logs for full command output.