|
沙发
楼主 |
发表于 2020-9-3 11:23:11
|
只看该作者
是在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] = '"'"'/tmp/pip-install-aa8406gt/h5py/setup.py'"'"'; __file__='"'"'/tmp/pip-install-aa8406gt/h5py/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-5jdlev5j
cwd: /tmp/pip-install-aa8406gt/h5py/
Complete output (110 lines):
/usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
zip_safe flag not set; analyzing archive contents...
Installed /tmp/pip-install-aa8406gt/h5py/.eggs/pkgconfig-1.5.1-py3.6.egg
Searching for Cython>=0.23
Reading https://pypi.python.org/simple/Cython/
Best match: Cython 3.0a6
Downloading https://files.pythonhosted.org/p ... 9633d4552301424f269
Processing Cython-3.0a6.tar.gz
Writing /tmp/easy_install-r615otq_/Cython-3.0a6/setup.cfg
Running Cython-3.0a6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-r615otq_/Cython-3.0a6/egg-dist-tmp-b4ru4oqw
Unable to find pgen, not compiling formal grammar.
/usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
Compiling /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Plex/Scanners.py because it changed.
Compiling /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Plex/Actions.py because it changed.
Compiling /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Plex/Machines.py because it changed.
Compiling /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Plex/Transitions.py because it changed.
Compiling /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Plex/DFA.py because it changed.
Compiling /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Compiler/Scanning.py because it changed.
Compiling /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Compiler/Visitor.py because it changed.
Compiling /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Compiler/FlowControl.py because it changed.
Compiling /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Runtime/refnanny.pyx because it changed.
Compiling /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Compiler/FusedNode.py because it changed.
Compiling /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Tempita/_tempita.py because it changed.
[ 1/11] Cythonizing /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Compiler/FlowControl.py
[ 2/11] Cythonizing /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Compiler/FusedNode.py
[ 3/11] Cythonizing /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Compiler/Scanning.py
[ 4/11] Cythonizing /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Compiler/Visitor.py
[ 5/11] Cythonizing /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Plex/Actions.py
[ 6/11] Cythonizing /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Plex/DFA.py
[ 7/11] Cythonizing /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Plex/Machines.py
[ 8/11] Cythonizing /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Plex/Scanners.py
[ 9/11] Cythonizing /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Plex/Transitions.py
[10/11] Cythonizing /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Runtime/refnanny.pyx
[11/11] Cythonizing /tmp/easy_install-r615otq_/Cython-3.0a6/Cython/Tempita/_tempita.py
warning: no files found matching 'Doc/*'
warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
warning: no files found matching 'pyximport/README'
creating /tmp/pip-install-aa8406gt/h5py/.eggs/Cython-3.0a6-py3.6-linux-aarch64.egg
Extracting Cython-3.0a6-py3.6-linux-aarch64.egg to /tmp/pip-install-aa8406gt/h5py/.eggs
Installed /tmp/pip-install-aa8406gt/h5py/.eggs/Cython-3.0a6-py3.6-linux-aarch64.egg
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/version.py -> build/lib.linux-aarch64-3.6/h5py
copying h5py/ipy_completer.py -> build/lib.linux-aarch64-3.6/h5py
copying h5py/highlevel.py -> build/lib.linux-aarch64-3.6/h5py
copying h5py/h5py_warnings.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/vds.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/selections.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/filters.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
copying h5py/_hl/datatype.py -> build/lib.linux-aarch64-3.6/h5py/_hl
copying h5py/_hl/dataset.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/base.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
creating build/lib.linux-aarch64-3.6/h5py/tests
copying h5py/tests/test_threads.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_selections.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_h5t.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_h5p.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_h5d_direct_chunk.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_group.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_file2.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_dtype.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_dimension_scales.py -> build/lib.linux-aarch64-3.6/h5py/tests
copying h5py/tests/test_deprecation.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_dataset_swmr.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_dataset.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_base.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_attrs.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/__init__.py -> build/lib.linux-aarch64-3.6/h5py/tests
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_lowlevel_vds.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
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
DEPRECATION: Could not build wheels for h5py which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
Installing collected packages: h5py, rknn-toolkit
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] = '"'"'/tmp/pip-install-aa8406gt/h5py/setup.py'"'"'; __file__='"'"'/tmp/pip-install-aa8406gt/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-n21llsf2/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/toybrick/.local/include/python3.6m/h5py
cwd: /tmp/pip-install-aa8406gt/h5py/
Complete output (64 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.6
creating build/lib.linux-aarch64-3.6/h5py
copying h5py/version.py -> build/lib.linux-aarch64-3.6/h5py
copying h5py/ipy_completer.py -> build/lib.linux-aarch64-3.6/h5py
copying h5py/highlevel.py -> build/lib.linux-aarch64-3.6/h5py
copying h5py/h5py_warnings.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/vds.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/selections.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/filters.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
copying h5py/_hl/datatype.py -> build/lib.linux-aarch64-3.6/h5py/_hl
copying h5py/_hl/dataset.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/base.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
creating build/lib.linux-aarch64-3.6/h5py/tests
copying h5py/tests/test_threads.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_selections.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_h5t.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_h5p.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_h5d_direct_chunk.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_group.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_file2.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_dtype.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_dimension_scales.py -> build/lib.linux-aarch64-3.6/h5py/tests
copying h5py/tests/test_deprecation.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_dataset_swmr.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_dataset.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_base.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_attrs.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/__init__.py -> build/lib.linux-aarch64-3.6/h5py/tests
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_lowlevel_vds.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
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/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-aa8406gt/h5py/setup.py'"'"'; __file__='"'"'/tmp/pip-install-aa8406gt/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-n21llsf2/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/toybrick/.local/include/python3.6m/h5py Check the logs for full command output. |
|