美文网首页
【软件安装】---报错:Building wheel for h

【软件安装】---报错:Building wheel for h

作者: 卡布达b1 | 来源:发表于2020-05-21 15:36 被阅读0次

    前言:呵呵,又来新题目了,这次是另一个包h5py......
    命令:

    pip install h5py --target==/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/
    

    报错:

    (read_until) minit@MC-110082:~/software/ReadUntil$ pip install h5py==2.10.0 --target=/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/ -i https://pypi.doubanio.com/simple/ --upgrade
    Looking in indexes: https://pypi.doubanio.com/simple/
    Collecting h5py==2.10.0
      Using cached https://pypi.doubanio.com/packages/5f/97/a58afbcf40e8abecededd9512978b4e4915374e5b80049af082f49cebe9a/h5py-2.10.0.tar.gz (301 kB)
    Processing /home/minit/.cache/pip/wheels/f8/98/08/9c3023f69cb6c4569ff4e7108a44904a0a12dd6f49c0ce8fcb/numpy-1.18.4-cp35-cp35m-linux_aarch64.whl
    Collecting six
      Downloading https://pypi.doubanio.com/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl (10 kB)
    Building wheels for collected packages: h5py
      Building wheel for h5py (setup.py) ... error
      ERROR: Command errored out with exit status 1:
       command: /home/minit/software/ReadUntil/read_until/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b5tpdo4z/h5py/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b5tpdo4z/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-yu5h0ly0
           cwd: /tmp/pip-install-b5tpdo4z/h5py/
      Complete output (52 lines):
      /usr/lib/python3.5/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-b5tpdo4z/h5py/.eggs/pkgconfig-1.5.1-py3.5.egg
      Searching for Cython>=0.23
      Reading https://pypi.python.org/simple/Cython/
      Best match: Cython 3.0a5
      Downloading https://files.pythonhosted.org/packages/96/19/bd4cfee7d3de1f2690b2211696571ae9663f6cea61ade0fc746f250172b9/Cython-3.0a5.tar.gz#sha256=22060abe55a55a59096982f3e81de2dc8f28c29917d20fa5182f49c4530e27ec
      Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "/tmp/pip-install-b5tpdo4z/h5py/setup.py", line 159, in <module>
          cmdclass = CMDCLASS,
        File "/usr/lib/python3.5/distutils/core.py", line 108, in setup
          _setup_distribution = dist = klass(attrs)
        File "/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/setuptools/dist.py", line 269, in __init__
          self.fetch_build_eggs(attrs['setup_requires'])
        File "/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs
          replace_conflicting=True,
        File "/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/pkg_resources/__init__.py", line 826, in resolve
          dist = best[req.key] = env.best_match(req, ws, installer)
        File "/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1092, in best_match
          return self.obtain(req, installer)
        File "/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1104, in obtain
          return installer(requirement)
        File "/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/setuptools/dist.py", line 380, in fetch_build_egg
          return cmd.easy_install(req)
        File "/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 651, in easy_install
          not self.always_copy, self.local_index
        File "/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/setuptools/package_index.py", line 615, in fetch_distribution
          return dist.clone(location=self.download(dist.location, tmpdir))
        File "/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/setuptools/package_index.py", line 531, in download
          found = self._download_url(scheme.group(1), spec, tmpdir)
        File "/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/setuptools/package_index.py", line 772, in _download_url
          return self._attempt_download(url, filename)
        File "/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/setuptools/package_index.py", line 778, in _attempt_download
          headers = self._download_to(url, filename)
        File "/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/setuptools/package_index.py", line 694, in _download_to
          block = fp.read(bs)
        File "/usr/lib/python3.5/http/client.py", line 458, in read
          n = self.readinto(b)
        File "/usr/lib/python3.5/http/client.py", line 498, in readinto
          n = self.fp.readinto(b)
        File "/usr/lib/python3.5/socket.py", line 575, in readinto
          return self._sock.recv_into(b)
        File "/usr/lib/python3.5/ssl.py", line 929, in recv_into
          return self.read(nbytes, buffer)
        File "/usr/lib/python3.5/ssl.py", line 791, in read
          return self._sslobj.read(len, buffer)
        File "/usr/lib/python3.5/ssl.py", line 575, in read
          v = self._sslobj.read(len, buffer)
      ConnectionResetError: [Errno 104] Connection reset by peer
      ----------------------------------------
      ERROR: Failed building wheel for h5py
      Running setup.py clean for h5py
    Failed to build h5py
    Installing collected packages: numpy, six, h5py
        Running setup.py install for h5py ... error
        ERROR: Command errored out with exit status 1:
         command: /home/minit/software/ReadUntil/read_until/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b5tpdo4z/h5py/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b5tpdo4z/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-2olkbeqc/install-record.txt --single-version-externally-managed --home /tmp/pip-target-fczf6cea --compile --install-headers /home/minit/software/ReadUntil/read_until/include/site/python3.5/h5py
             cwd: /tmp/pip-install-b5tpdo4z/h5py/
        Complete output (538 lines):
        Unable to find pgen, not compiling formal grammar.
        /usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'python_requires'
          warnings.warn(msg)
        Compiling /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Plex/Scanners.py because it changed.
        Compiling /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Plex/Actions.py because it changed.
        Compiling /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Compiler/Scanning.py because it changed.
        Compiling /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Compiler/Visitor.py because it changed.
        Compiling /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Compiler/FlowControl.py because it changed.
        Compiling /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Runtime/refnanny.pyx because it changed.
        Compiling /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Compiler/FusedNode.py because it changed.
        Compiling /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Tempita/_tempita.py because it changed.
        [1/8] Cythonizing /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Compiler/FlowControl.py
        [2/8] Cythonizing /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Compiler/FusedNode.py
        [3/8] Cythonizing /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Compiler/Scanning.py
        [4/8] Cythonizing /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Compiler/Visitor.py
        [5/8] Cythonizing /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Plex/Actions.py
        [6/8] Cythonizing /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Plex/Scanners.py
        [7/8] Cythonizing /tmp/easy_install-llofnryj/Cython-3.0a5/Cython/Runtime/refnanny.pyx
        [8/8] Cythonizing /tmp/easy_install-llofnryj/Cython-3.0a5/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'
    
        Installed /tmp/pip-install-b5tpdo4z/h5py/.eggs/Cython-3.0a5-py3.5-linux-aarch64.egg
        running install
        running build
        running build_py
        creating build
        creating build/lib.linux-aarch64-3.5
        creating build/lib.linux-aarch64-3.5/h5py
        copying h5py/highlevel.py -> build/lib.linux-aarch64-3.5/h5py
        copying h5py/h5py_warnings.py -> build/lib.linux-aarch64-3.5/h5py
        copying h5py/__init__.py -> build/lib.linux-aarch64-3.5/h5py
        copying h5py/ipy_completer.py -> build/lib.linux-aarch64-3.5/h5py
        copying h5py/version.py -> build/lib.linux-aarch64-3.5/h5py
        creating build/lib.linux-aarch64-3.5/h5py/_hl
        copying h5py/_hl/group.py -> build/lib.linux-aarch64-3.5/h5py/_hl
        copying h5py/_hl/datatype.py -> build/lib.linux-aarch64-3.5/h5py/_hl
        copying h5py/_hl/compat.py -> build/lib.linux-aarch64-3.5/h5py/_hl
        copying h5py/_hl/vds.py -> build/lib.linux-aarch64-3.5/h5py/_hl
        copying h5py/_hl/base.py -> build/lib.linux-aarch64-3.5/h5py/_hl
        copying h5py/_hl/filters.py -> build/lib.linux-aarch64-3.5/h5py/_hl
        copying h5py/_hl/attrs.py -> build/lib.linux-aarch64-3.5/h5py/_hl
        copying h5py/_hl/dims.py -> build/lib.linux-aarch64-3.5/h5py/_hl
        copying h5py/_hl/selections2.py -> build/lib.linux-aarch64-3.5/h5py/_hl
        copying h5py/_hl/files.py -> build/lib.linux-aarch64-3.5/h5py/_hl
        copying h5py/_hl/selections.py -> build/lib.linux-aarch64-3.5/h5py/_hl
        copying h5py/_hl/dataset.py -> build/lib.linux-aarch64-3.5/h5py/_hl
        copying h5py/_hl/__init__.py -> build/lib.linux-aarch64-3.5/h5py/_hl
        creating build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_h5pl.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_dataset.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_h5p.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_file.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_dtype.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_group.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_h5f.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_deprecation.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_h5.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_threads.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_filters.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_dimension_scales.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_file_image.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_slicing.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_dataset_swmr.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_selections.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_dims_dimensionproxy.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_attrs_data.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_h5d_direct_chunk.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_base.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_completions.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_file2.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_attrs.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_dataset_getitem.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_datatype.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/__init__.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_objects.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_attribute_create.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/common.py -> build/lib.linux-aarch64-3.5/h5py/tests
        copying h5py/tests/test_h5t.py -> build/lib.linux-aarch64-3.5/h5py/tests
        creating build/lib.linux-aarch64-3.5/h5py/tests/test_vds
        copying h5py/tests/test_vds/test_lowlevel_vds.py -> build/lib.linux-aarch64-3.5/h5py/tests/test_vds
        copying h5py/tests/test_vds/test_highlevel_vds.py -> build/lib.linux-aarch64-3.5/h5py/tests/test_vds
        copying h5py/tests/test_vds/test_virtual_source.py -> build/lib.linux-aarch64-3.5/h5py/tests/test_vds
        copying h5py/tests/test_vds/__init__.py -> build/lib.linux-aarch64-3.5/h5py/tests/test_vds
        running build_ext
        Loading library to get version: /usr/lib/aarch64-linux-gnu/hdf5/serial/libhdf5.so
        Autodetected HDF5 1.8.16
        ********************************************************************************
                               Summary of the h5py configuration
    
            Path to HDF5: None
            HDF5 Version: '1.8.16'
             MPI Enabled: False
        Rebuild Required: True
    
        ********************************************************************************
        Executing api_gen rebuild of defs
        Executing cythonize()
        [ 1/23] Cythonizing /tmp/pip-install-b5tpdo4z/h5py/h5py/_conv.pyx
        warning: h5py/api_types_hdf5.pxd:418:2: 'H5D_layout_t' redeclared
        warning: h5py/api_types_hdf5.pxd:425:2: 'H5D_alloc_time_t' redeclared
        warning: h5py/api_types_hdf5.pxd:432:2: 'H5D_space_status_t' redeclared
        warning: h5py/api_types_hdf5.pxd:438:2: 'H5D_fill_time_t' redeclared
        warning: h5py/api_types_hdf5.pxd:444:2: 'H5D_fill_value_t' redeclared
        warning: h5py/api_types_hdf5.pxd:456:7: 'H5F_close_degree_t' redeclared
        warning: h5py/api_types_hdf5.pxd:462:2: 'H5FD_mem_t' redeclared
        warning: h5py/api_types_hdf5.pxd:560:2: 'H5T_cset_t' redeclared
        warning: h5py/api_types_hdf5.pxd:739:7: 'H5Z_EDC_t' redeclared
        warning: h5py/api_types_hdf5.pxd:419:4: 'H5D_LAYOUT_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:420:4: 'H5D_COMPACT' redeclared
        warning: h5py/api_types_hdf5.pxd:421:4: 'H5D_CONTIGUOUS' redeclared
        warning: h5py/api_types_hdf5.pxd:422:4: 'H5D_CHUNKED' redeclared
        warning: h5py/api_types_hdf5.pxd:423:4: 'H5D_NLAYOUTS' redeclared
        warning: h5py/api_types_hdf5.pxd:426:4: 'H5D_ALLOC_TIME_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:427:4: 'H5D_ALLOC_TIME_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:428:4: 'H5D_ALLOC_TIME_EARLY' redeclared
        warning: h5py/api_types_hdf5.pxd:429:4: 'H5D_ALLOC_TIME_LATE' redeclared
        warning: h5py/api_types_hdf5.pxd:430:4: 'H5D_ALLOC_TIME_INCR' redeclared
        warning: h5py/api_types_hdf5.pxd:433:4: 'H5D_SPACE_STATUS_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:434:4: 'H5D_SPACE_STATUS_NOT_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:435:4: 'H5D_SPACE_STATUS_PART_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:436:4: 'H5D_SPACE_STATUS_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:439:4: 'H5D_FILL_TIME_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:440:4: 'H5D_FILL_TIME_ALLOC' redeclared
        warning: h5py/api_types_hdf5.pxd:441:4: 'H5D_FILL_TIME_NEVER' redeclared
        warning: h5py/api_types_hdf5.pxd:442:4: 'H5D_FILL_TIME_IFSET' redeclared
        warning: h5py/api_types_hdf5.pxd:445:4: 'H5D_FILL_VALUE_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:446:4: 'H5D_FILL_VALUE_UNDEFINED' redeclared
        warning: h5py/api_types_hdf5.pxd:447:4: 'H5D_FILL_VALUE_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:448:4: 'H5D_FILL_VALUE_USER_DEFINED' redeclared
        warning: h5py/api_types_hdf5.pxd:457:4: 'H5F_CLOSE_WEAK' redeclared
        warning: h5py/api_types_hdf5.pxd:458:4: 'H5F_CLOSE_SEMI' redeclared
        warning: h5py/api_types_hdf5.pxd:459:4: 'H5F_CLOSE_STRONG' redeclared
        warning: h5py/api_types_hdf5.pxd:460:4: 'H5F_CLOSE_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:463:4: 'H5FD_MEM_NOLIST' redeclared
        warning: h5py/api_types_hdf5.pxd:464:4: 'H5FD_MEM_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:465:4: 'H5FD_MEM_SUPER' redeclared
        warning: h5py/api_types_hdf5.pxd:466:4: 'H5FD_MEM_BTREE' redeclared
        warning: h5py/api_types_hdf5.pxd:467:4: 'H5FD_MEM_DRAW' redeclared
        warning: h5py/api_types_hdf5.pxd:468:4: 'H5FD_MEM_GHEAP' redeclared
        warning: h5py/api_types_hdf5.pxd:469:4: 'H5FD_MEM_LHEAP' redeclared
        warning: h5py/api_types_hdf5.pxd:470:4: 'H5FD_MEM_OHDR' redeclared
        warning: h5py/api_types_hdf5.pxd:471:4: 'H5FD_MEM_NTYPES' redeclared
        warning: h5py/api_types_hdf5.pxd:561:4: 'H5T_CSET_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:562:4: 'H5T_CSET_ASCII' redeclared
        warning: h5py/api_types_hdf5.pxd:705:2: 'H5Z_filter_t' redeclared
        warning: h5py/api_types_hdf5.pxd:740:6: 'H5Z_ERROR_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:741:6: 'H5Z_DISABLE_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:742:6: 'H5Z_ENABLE_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:743:6: 'H5Z_NO_EDC' redeclared
        [ 2/23] Cythonizing /tmp/pip-install-b5tpdo4z/h5py/h5py/_errors.pyx
        warning: h5py/api_types_hdf5.pxd:418:2: 'H5D_layout_t' redeclared
        warning: h5py/api_types_hdf5.pxd:425:2: 'H5D_alloc_time_t' redeclared
        warning: h5py/api_types_hdf5.pxd:432:2: 'H5D_space_status_t' redeclared
        warning: h5py/api_types_hdf5.pxd:438:2: 'H5D_fill_time_t' redeclared
        warning: h5py/api_types_hdf5.pxd:444:2: 'H5D_fill_value_t' redeclared
        warning: h5py/api_types_hdf5.pxd:456:7: 'H5F_close_degree_t' redeclared
        warning: h5py/api_types_hdf5.pxd:462:2: 'H5FD_mem_t' redeclared
        warning: h5py/api_types_hdf5.pxd:560:2: 'H5T_cset_t' redeclared
        warning: h5py/api_types_hdf5.pxd:739:7: 'H5Z_EDC_t' redeclared
        warning: h5py/api_types_hdf5.pxd:419:4: 'H5D_LAYOUT_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:420:4: 'H5D_COMPACT' redeclared
        warning: h5py/api_types_hdf5.pxd:421:4: 'H5D_CONTIGUOUS' redeclared
        warning: h5py/api_types_hdf5.pxd:422:4: 'H5D_CHUNKED' redeclared
        warning: h5py/api_types_hdf5.pxd:423:4: 'H5D_NLAYOUTS' redeclared
        warning: h5py/api_types_hdf5.pxd:426:4: 'H5D_ALLOC_TIME_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:427:4: 'H5D_ALLOC_TIME_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:428:4: 'H5D_ALLOC_TIME_EARLY' redeclared
        warning: h5py/api_types_hdf5.pxd:429:4: 'H5D_ALLOC_TIME_LATE' redeclared
        warning: h5py/api_types_hdf5.pxd:430:4: 'H5D_ALLOC_TIME_INCR' redeclared
        warning: h5py/api_types_hdf5.pxd:433:4: 'H5D_SPACE_STATUS_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:434:4: 'H5D_SPACE_STATUS_NOT_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:435:4: 'H5D_SPACE_STATUS_PART_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:436:4: 'H5D_SPACE_STATUS_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:439:4: 'H5D_FILL_TIME_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:440:4: 'H5D_FILL_TIME_ALLOC' redeclared
        warning: h5py/api_types_hdf5.pxd:441:4: 'H5D_FILL_TIME_NEVER' redeclared
        warning: h5py/api_types_hdf5.pxd:442:4: 'H5D_FILL_TIME_IFSET' redeclared
        warning: h5py/api_types_hdf5.pxd:445:4: 'H5D_FILL_VALUE_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:446:4: 'H5D_FILL_VALUE_UNDEFINED' redeclared
        warning: h5py/api_types_hdf5.pxd:447:4: 'H5D_FILL_VALUE_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:448:4: 'H5D_FILL_VALUE_USER_DEFINED' redeclared
        warning: h5py/api_types_hdf5.pxd:457:4: 'H5F_CLOSE_WEAK' redeclared
        warning: h5py/api_types_hdf5.pxd:458:4: 'H5F_CLOSE_SEMI' redeclared
        warning: h5py/api_types_hdf5.pxd:459:4: 'H5F_CLOSE_STRONG' redeclared
        warning: h5py/api_types_hdf5.pxd:460:4: 'H5F_CLOSE_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:463:4: 'H5FD_MEM_NOLIST' redeclared
        warning: h5py/api_types_hdf5.pxd:464:4: 'H5FD_MEM_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:465:4: 'H5FD_MEM_SUPER' redeclared
        warning: h5py/api_types_hdf5.pxd:466:4: 'H5FD_MEM_BTREE' redeclared
        warning: h5py/api_types_hdf5.pxd:467:4: 'H5FD_MEM_DRAW' redeclared
        warning: h5py/api_types_hdf5.pxd:468:4: 'H5FD_MEM_GHEAP' redeclared
        warning: h5py/api_types_hdf5.pxd:469:4: 'H5FD_MEM_LHEAP' redeclared
        warning: h5py/api_types_hdf5.pxd:470:4: 'H5FD_MEM_OHDR' redeclared
        warning: h5py/api_types_hdf5.pxd:471:4: 'H5FD_MEM_NTYPES' redeclared
        warning: h5py/api_types_hdf5.pxd:561:4: 'H5T_CSET_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:562:4: 'H5T_CSET_ASCII' redeclared
        warning: h5py/api_types_hdf5.pxd:705:2: 'H5Z_filter_t' redeclared
        warning: h5py/api_types_hdf5.pxd:740:6: 'H5Z_ERROR_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:741:6: 'H5Z_DISABLE_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:742:6: 'H5Z_ENABLE_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:743:6: 'H5Z_NO_EDC' redeclared
        [ 3/23] Cythonizing /tmp/pip-install-b5tpdo4z/h5py/h5py/_objects.pyx
        warning: h5py/api_types_hdf5.pxd:418:2: 'H5D_layout_t' redeclared
        warning: h5py/api_types_hdf5.pxd:425:2: 'H5D_alloc_time_t' redeclared
        warning: h5py/api_types_hdf5.pxd:432:2: 'H5D_space_status_t' redeclared
        warning: h5py/api_types_hdf5.pxd:438:2: 'H5D_fill_time_t' redeclared
        warning: h5py/api_types_hdf5.pxd:444:2: 'H5D_fill_value_t' redeclared
        warning: h5py/api_types_hdf5.pxd:456:7: 'H5F_close_degree_t' redeclared
        warning: h5py/api_types_hdf5.pxd:462:2: 'H5FD_mem_t' redeclared
        warning: h5py/api_types_hdf5.pxd:560:2: 'H5T_cset_t' redeclared
        warning: h5py/api_types_hdf5.pxd:739:7: 'H5Z_EDC_t' redeclared
        warning: h5py/api_types_hdf5.pxd:419:4: 'H5D_LAYOUT_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:420:4: 'H5D_COMPACT' redeclared
        warning: h5py/api_types_hdf5.pxd:421:4: 'H5D_CONTIGUOUS' redeclared
        warning: h5py/api_types_hdf5.pxd:422:4: 'H5D_CHUNKED' redeclared
        warning: h5py/api_types_hdf5.pxd:423:4: 'H5D_NLAYOUTS' redeclared
        warning: h5py/api_types_hdf5.pxd:426:4: 'H5D_ALLOC_TIME_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:427:4: 'H5D_ALLOC_TIME_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:428:4: 'H5D_ALLOC_TIME_EARLY' redeclared
        warning: h5py/api_types_hdf5.pxd:429:4: 'H5D_ALLOC_TIME_LATE' redeclared
        warning: h5py/api_types_hdf5.pxd:430:4: 'H5D_ALLOC_TIME_INCR' redeclared
        warning: h5py/api_types_hdf5.pxd:433:4: 'H5D_SPACE_STATUS_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:434:4: 'H5D_SPACE_STATUS_NOT_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:435:4: 'H5D_SPACE_STATUS_PART_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:436:4: 'H5D_SPACE_STATUS_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:439:4: 'H5D_FILL_TIME_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:440:4: 'H5D_FILL_TIME_ALLOC' redeclared
        warning: h5py/api_types_hdf5.pxd:441:4: 'H5D_FILL_TIME_NEVER' redeclared
        warning: h5py/api_types_hdf5.pxd:442:4: 'H5D_FILL_TIME_IFSET' redeclared
        warning: h5py/api_types_hdf5.pxd:445:4: 'H5D_FILL_VALUE_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:446:4: 'H5D_FILL_VALUE_UNDEFINED' redeclared
        warning: h5py/api_types_hdf5.pxd:447:4: 'H5D_FILL_VALUE_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:448:4: 'H5D_FILL_VALUE_USER_DEFINED' redeclared
        warning: h5py/api_types_hdf5.pxd:457:4: 'H5F_CLOSE_WEAK' redeclared
        warning: h5py/api_types_hdf5.pxd:458:4: 'H5F_CLOSE_SEMI' redeclared
        warning: h5py/api_types_hdf5.pxd:459:4: 'H5F_CLOSE_STRONG' redeclared
        warning: h5py/api_types_hdf5.pxd:460:4: 'H5F_CLOSE_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:463:4: 'H5FD_MEM_NOLIST' redeclared
        warning: h5py/api_types_hdf5.pxd:464:4: 'H5FD_MEM_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:465:4: 'H5FD_MEM_SUPER' redeclared
        warning: h5py/api_types_hdf5.pxd:466:4: 'H5FD_MEM_BTREE' redeclared
        warning: h5py/api_types_hdf5.pxd:467:4: 'H5FD_MEM_DRAW' redeclared
        warning: h5py/api_types_hdf5.pxd:468:4: 'H5FD_MEM_GHEAP' redeclared
        warning: h5py/api_types_hdf5.pxd:469:4: 'H5FD_MEM_LHEAP' redeclared
        warning: h5py/api_types_hdf5.pxd:470:4: 'H5FD_MEM_OHDR' redeclared
        warning: h5py/api_types_hdf5.pxd:471:4: 'H5FD_MEM_NTYPES' redeclared
        warning: h5py/api_types_hdf5.pxd:561:4: 'H5T_CSET_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:562:4: 'H5T_CSET_ASCII' redeclared
        warning: h5py/api_types_hdf5.pxd:705:2: 'H5Z_filter_t' redeclared
        warning: h5py/api_types_hdf5.pxd:740:6: 'H5Z_ERROR_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:741:6: 'H5Z_DISABLE_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:742:6: 'H5Z_ENABLE_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:743:6: 'H5Z_NO_EDC' redeclared
        [ 4/23] Cythonizing /tmp/pip-install-b5tpdo4z/h5py/h5py/_proxy.pyx
        warning: h5py/api_types_hdf5.pxd:418:2: 'H5D_layout_t' redeclared
        warning: h5py/api_types_hdf5.pxd:425:2: 'H5D_alloc_time_t' redeclared
        warning: h5py/api_types_hdf5.pxd:432:2: 'H5D_space_status_t' redeclared
        warning: h5py/api_types_hdf5.pxd:438:2: 'H5D_fill_time_t' redeclared
        warning: h5py/api_types_hdf5.pxd:444:2: 'H5D_fill_value_t' redeclared
        warning: h5py/api_types_hdf5.pxd:456:7: 'H5F_close_degree_t' redeclared
        warning: h5py/api_types_hdf5.pxd:462:2: 'H5FD_mem_t' redeclared
        warning: h5py/api_types_hdf5.pxd:560:2: 'H5T_cset_t' redeclared
        warning: h5py/api_types_hdf5.pxd:739:7: 'H5Z_EDC_t' redeclared
        warning: h5py/api_types_hdf5.pxd:419:4: 'H5D_LAYOUT_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:420:4: 'H5D_COMPACT' redeclared
        warning: h5py/api_types_hdf5.pxd:421:4: 'H5D_CONTIGUOUS' redeclared
        warning: h5py/api_types_hdf5.pxd:422:4: 'H5D_CHUNKED' redeclared
        warning: h5py/api_types_hdf5.pxd:423:4: 'H5D_NLAYOUTS' redeclared
        warning: h5py/api_types_hdf5.pxd:426:4: 'H5D_ALLOC_TIME_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:427:4: 'H5D_ALLOC_TIME_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:428:4: 'H5D_ALLOC_TIME_EARLY' redeclared
        warning: h5py/api_types_hdf5.pxd:429:4: 'H5D_ALLOC_TIME_LATE' redeclared
        warning: h5py/api_types_hdf5.pxd:430:4: 'H5D_ALLOC_TIME_INCR' redeclared
        warning: h5py/api_types_hdf5.pxd:433:4: 'H5D_SPACE_STATUS_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:434:4: 'H5D_SPACE_STATUS_NOT_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:435:4: 'H5D_SPACE_STATUS_PART_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:436:4: 'H5D_SPACE_STATUS_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:439:4: 'H5D_FILL_TIME_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:440:4: 'H5D_FILL_TIME_ALLOC' redeclared
        warning: h5py/api_types_hdf5.pxd:441:4: 'H5D_FILL_TIME_NEVER' redeclared
        warning: h5py/api_types_hdf5.pxd:442:4: 'H5D_FILL_TIME_IFSET' redeclared
        warning: h5py/api_types_hdf5.pxd:445:4: 'H5D_FILL_VALUE_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:446:4: 'H5D_FILL_VALUE_UNDEFINED' redeclared
        warning: h5py/api_types_hdf5.pxd:447:4: 'H5D_FILL_VALUE_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:448:4: 'H5D_FILL_VALUE_USER_DEFINED' redeclared
        warning: h5py/api_types_hdf5.pxd:457:4: 'H5F_CLOSE_WEAK' redeclared
        warning: h5py/api_types_hdf5.pxd:458:4: 'H5F_CLOSE_SEMI' redeclared
        warning: h5py/api_types_hdf5.pxd:459:4: 'H5F_CLOSE_STRONG' redeclared
        warning: h5py/api_types_hdf5.pxd:460:4: 'H5F_CLOSE_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:463:4: 'H5FD_MEM_NOLIST' redeclared
        warning: h5py/api_types_hdf5.pxd:464:4: 'H5FD_MEM_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:465:4: 'H5FD_MEM_SUPER' redeclared
        warning: h5py/api_types_hdf5.pxd:466:4: 'H5FD_MEM_BTREE' redeclared
        warning: h5py/api_types_hdf5.pxd:467:4: 'H5FD_MEM_DRAW' redeclared
        warning: h5py/api_types_hdf5.pxd:468:4: 'H5FD_MEM_GHEAP' redeclared
        warning: h5py/api_types_hdf5.pxd:469:4: 'H5FD_MEM_LHEAP' redeclared
        warning: h5py/api_types_hdf5.pxd:470:4: 'H5FD_MEM_OHDR' redeclared
        warning: h5py/api_types_hdf5.pxd:471:4: 'H5FD_MEM_NTYPES' redeclared
        warning: h5py/api_types_hdf5.pxd:561:4: 'H5T_CSET_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:562:4: 'H5T_CSET_ASCII' redeclared
        warning: h5py/api_types_hdf5.pxd:705:2: 'H5Z_filter_t' redeclared
        warning: h5py/api_types_hdf5.pxd:740:6: 'H5Z_ERROR_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:741:6: 'H5Z_DISABLE_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:742:6: 'H5Z_ENABLE_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:743:6: 'H5Z_NO_EDC' redeclared
        [ 5/23] Cythonizing /tmp/pip-install-b5tpdo4z/h5py/h5py/defs.pyx
        warning: h5py/api_types_hdf5.pxd:418:2: 'H5D_layout_t' redeclared
        warning: h5py/api_types_hdf5.pxd:425:2: 'H5D_alloc_time_t' redeclared
        warning: h5py/api_types_hdf5.pxd:432:2: 'H5D_space_status_t' redeclared
        warning: h5py/api_types_hdf5.pxd:438:2: 'H5D_fill_time_t' redeclared
        warning: h5py/api_types_hdf5.pxd:444:2: 'H5D_fill_value_t' redeclared
        warning: h5py/api_types_hdf5.pxd:456:7: 'H5F_close_degree_t' redeclared
        warning: h5py/api_types_hdf5.pxd:462:2: 'H5FD_mem_t' redeclared
        warning: h5py/api_types_hdf5.pxd:560:2: 'H5T_cset_t' redeclared
        warning: h5py/api_types_hdf5.pxd:739:7: 'H5Z_EDC_t' redeclared
        warning: h5py/api_types_hdf5.pxd:419:4: 'H5D_LAYOUT_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:420:4: 'H5D_COMPACT' redeclared
        warning: h5py/api_types_hdf5.pxd:421:4: 'H5D_CONTIGUOUS' redeclared
        warning: h5py/api_types_hdf5.pxd:422:4: 'H5D_CHUNKED' redeclared
        warning: h5py/api_types_hdf5.pxd:423:4: 'H5D_NLAYOUTS' redeclared
        warning: h5py/api_types_hdf5.pxd:426:4: 'H5D_ALLOC_TIME_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:427:4: 'H5D_ALLOC_TIME_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:428:4: 'H5D_ALLOC_TIME_EARLY' redeclared
        warning: h5py/api_types_hdf5.pxd:429:4: 'H5D_ALLOC_TIME_LATE' redeclared
        warning: h5py/api_types_hdf5.pxd:430:4: 'H5D_ALLOC_TIME_INCR' redeclared
        warning: h5py/api_types_hdf5.pxd:433:4: 'H5D_SPACE_STATUS_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:434:4: 'H5D_SPACE_STATUS_NOT_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:435:4: 'H5D_SPACE_STATUS_PART_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:436:4: 'H5D_SPACE_STATUS_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:439:4: 'H5D_FILL_TIME_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:440:4: 'H5D_FILL_TIME_ALLOC' redeclared
        warning: h5py/api_types_hdf5.pxd:441:4: 'H5D_FILL_TIME_NEVER' redeclared
        warning: h5py/api_types_hdf5.pxd:442:4: 'H5D_FILL_TIME_IFSET' redeclared
        warning: h5py/api_types_hdf5.pxd:445:4: 'H5D_FILL_VALUE_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:446:4: 'H5D_FILL_VALUE_UNDEFINED' redeclared
        warning: h5py/api_types_hdf5.pxd:447:4: 'H5D_FILL_VALUE_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:448:4: 'H5D_FILL_VALUE_USER_DEFINED' redeclared
        warning: h5py/api_types_hdf5.pxd:457:4: 'H5F_CLOSE_WEAK' redeclared
        warning: h5py/api_types_hdf5.pxd:458:4: 'H5F_CLOSE_SEMI' redeclared
        warning: h5py/api_types_hdf5.pxd:459:4: 'H5F_CLOSE_STRONG' redeclared
        warning: h5py/api_types_hdf5.pxd:460:4: 'H5F_CLOSE_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:463:4: 'H5FD_MEM_NOLIST' redeclared
        warning: h5py/api_types_hdf5.pxd:464:4: 'H5FD_MEM_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:465:4: 'H5FD_MEM_SUPER' redeclared
        warning: h5py/api_types_hdf5.pxd:466:4: 'H5FD_MEM_BTREE' redeclared
        warning: h5py/api_types_hdf5.pxd:467:4: 'H5FD_MEM_DRAW' redeclared
        warning: h5py/api_types_hdf5.pxd:468:4: 'H5FD_MEM_GHEAP' redeclared
        warning: h5py/api_types_hdf5.pxd:469:4: 'H5FD_MEM_LHEAP' redeclared
        warning: h5py/api_types_hdf5.pxd:470:4: 'H5FD_MEM_OHDR' redeclared
        warning: h5py/api_types_hdf5.pxd:471:4: 'H5FD_MEM_NTYPES' redeclared
        warning: h5py/api_types_hdf5.pxd:561:4: 'H5T_CSET_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:562:4: 'H5T_CSET_ASCII' redeclared
        warning: h5py/api_types_hdf5.pxd:705:2: 'H5Z_filter_t' redeclared
        warning: h5py/api_types_hdf5.pxd:740:6: 'H5Z_ERROR_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:741:6: 'H5Z_DISABLE_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:742:6: 'H5Z_ENABLE_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:743:6: 'H5Z_NO_EDC' redeclared
        [ 6/23] Cythonizing /tmp/pip-install-b5tpdo4z/h5py/h5py/h5.pyx
        warning: h5py/api_types_hdf5.pxd:418:2: 'H5D_layout_t' redeclared
        warning: h5py/api_types_hdf5.pxd:425:2: 'H5D_alloc_time_t' redeclared
        warning: h5py/api_types_hdf5.pxd:432:2: 'H5D_space_status_t' redeclared
        warning: h5py/api_types_hdf5.pxd:438:2: 'H5D_fill_time_t' redeclared
        warning: h5py/api_types_hdf5.pxd:444:2: 'H5D_fill_value_t' redeclared
        warning: h5py/api_types_hdf5.pxd:456:7: 'H5F_close_degree_t' redeclared
        warning: h5py/api_types_hdf5.pxd:462:2: 'H5FD_mem_t' redeclared
        warning: h5py/api_types_hdf5.pxd:560:2: 'H5T_cset_t' redeclared
        warning: h5py/api_types_hdf5.pxd:739:7: 'H5Z_EDC_t' redeclared
        warning: h5py/api_types_hdf5.pxd:419:4: 'H5D_LAYOUT_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:420:4: 'H5D_COMPACT' redeclared
        warning: h5py/api_types_hdf5.pxd:421:4: 'H5D_CONTIGUOUS' redeclared
        warning: h5py/api_types_hdf5.pxd:422:4: 'H5D_CHUNKED' redeclared
        warning: h5py/api_types_hdf5.pxd:423:4: 'H5D_NLAYOUTS' redeclared
        warning: h5py/api_types_hdf5.pxd:426:4: 'H5D_ALLOC_TIME_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:427:4: 'H5D_ALLOC_TIME_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:428:4: 'H5D_ALLOC_TIME_EARLY' redeclared
        warning: h5py/api_types_hdf5.pxd:429:4: 'H5D_ALLOC_TIME_LATE' redeclared
        warning: h5py/api_types_hdf5.pxd:430:4: 'H5D_ALLOC_TIME_INCR' redeclared
        warning: h5py/api_types_hdf5.pxd:433:4: 'H5D_SPACE_STATUS_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:434:4: 'H5D_SPACE_STATUS_NOT_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:435:4: 'H5D_SPACE_STATUS_PART_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:436:4: 'H5D_SPACE_STATUS_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:439:4: 'H5D_FILL_TIME_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:440:4: 'H5D_FILL_TIME_ALLOC' redeclared
        warning: h5py/api_types_hdf5.pxd:441:4: 'H5D_FILL_TIME_NEVER' redeclared
        warning: h5py/api_types_hdf5.pxd:442:4: 'H5D_FILL_TIME_IFSET' redeclared
        warning: h5py/api_types_hdf5.pxd:445:4: 'H5D_FILL_VALUE_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:446:4: 'H5D_FILL_VALUE_UNDEFINED' redeclared
        warning: h5py/api_types_hdf5.pxd:447:4: 'H5D_FILL_VALUE_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:448:4: 'H5D_FILL_VALUE_USER_DEFINED' redeclared
        warning: h5py/api_types_hdf5.pxd:457:4: 'H5F_CLOSE_WEAK' redeclared
        warning: h5py/api_types_hdf5.pxd:458:4: 'H5F_CLOSE_SEMI' redeclared
        warning: h5py/api_types_hdf5.pxd:459:4: 'H5F_CLOSE_STRONG' redeclared
        warning: h5py/api_types_hdf5.pxd:460:4: 'H5F_CLOSE_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:463:4: 'H5FD_MEM_NOLIST' redeclared
        warning: h5py/api_types_hdf5.pxd:464:4: 'H5FD_MEM_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:465:4: 'H5FD_MEM_SUPER' redeclared
        warning: h5py/api_types_hdf5.pxd:466:4: 'H5FD_MEM_BTREE' redeclared
        warning: h5py/api_types_hdf5.pxd:467:4: 'H5FD_MEM_DRAW' redeclared
        warning: h5py/api_types_hdf5.pxd:468:4: 'H5FD_MEM_GHEAP' redeclared
        warning: h5py/api_types_hdf5.pxd:469:4: 'H5FD_MEM_LHEAP' redeclared
        warning: h5py/api_types_hdf5.pxd:470:4: 'H5FD_MEM_OHDR' redeclared
        warning: h5py/api_types_hdf5.pxd:471:4: 'H5FD_MEM_NTYPES' redeclared
        warning: h5py/api_types_hdf5.pxd:561:4: 'H5T_CSET_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:562:4: 'H5T_CSET_ASCII' redeclared
        warning: h5py/api_types_hdf5.pxd:705:2: 'H5Z_filter_t' redeclared
        warning: h5py/api_types_hdf5.pxd:740:6: 'H5Z_ERROR_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:741:6: 'H5Z_DISABLE_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:742:6: 'H5Z_ENABLE_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:743:6: 'H5Z_NO_EDC' redeclared
        [ 7/23] Cythonizing /tmp/pip-install-b5tpdo4z/h5py/h5py/h5a.pyx
        warning: h5py/api_types_hdf5.pxd:418:2: 'H5D_layout_t' redeclared
        warning: h5py/api_types_hdf5.pxd:425:2: 'H5D_alloc_time_t' redeclared
        warning: h5py/api_types_hdf5.pxd:432:2: 'H5D_space_status_t' redeclared
        warning: h5py/api_types_hdf5.pxd:438:2: 'H5D_fill_time_t' redeclared
        warning: h5py/api_types_hdf5.pxd:444:2: 'H5D_fill_value_t' redeclared
        warning: h5py/api_types_hdf5.pxd:456:7: 'H5F_close_degree_t' redeclared
        warning: h5py/api_types_hdf5.pxd:462:2: 'H5FD_mem_t' redeclared
        warning: h5py/api_types_hdf5.pxd:560:2: 'H5T_cset_t' redeclared
        warning: h5py/api_types_hdf5.pxd:739:7: 'H5Z_EDC_t' redeclared
        warning: h5py/api_types_hdf5.pxd:419:4: 'H5D_LAYOUT_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:420:4: 'H5D_COMPACT' redeclared
        warning: h5py/api_types_hdf5.pxd:421:4: 'H5D_CONTIGUOUS' redeclared
        warning: h5py/api_types_hdf5.pxd:422:4: 'H5D_CHUNKED' redeclared
        warning: h5py/api_types_hdf5.pxd:423:4: 'H5D_NLAYOUTS' redeclared
        warning: h5py/api_types_hdf5.pxd:426:4: 'H5D_ALLOC_TIME_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:427:4: 'H5D_ALLOC_TIME_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:428:4: 'H5D_ALLOC_TIME_EARLY' redeclared
        warning: h5py/api_types_hdf5.pxd:429:4: 'H5D_ALLOC_TIME_LATE' redeclared
        warning: h5py/api_types_hdf5.pxd:430:4: 'H5D_ALLOC_TIME_INCR' redeclared
        warning: h5py/api_types_hdf5.pxd:433:4: 'H5D_SPACE_STATUS_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:434:4: 'H5D_SPACE_STATUS_NOT_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:435:4: 'H5D_SPACE_STATUS_PART_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:436:4: 'H5D_SPACE_STATUS_ALLOCATED' redeclared
        warning: h5py/api_types_hdf5.pxd:439:4: 'H5D_FILL_TIME_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:440:4: 'H5D_FILL_TIME_ALLOC' redeclared
        warning: h5py/api_types_hdf5.pxd:441:4: 'H5D_FILL_TIME_NEVER' redeclared
        warning: h5py/api_types_hdf5.pxd:442:4: 'H5D_FILL_TIME_IFSET' redeclared
        warning: h5py/api_types_hdf5.pxd:445:4: 'H5D_FILL_VALUE_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:446:4: 'H5D_FILL_VALUE_UNDEFINED' redeclared
        warning: h5py/api_types_hdf5.pxd:447:4: 'H5D_FILL_VALUE_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:448:4: 'H5D_FILL_VALUE_USER_DEFINED' redeclared
        warning: h5py/api_types_hdf5.pxd:457:4: 'H5F_CLOSE_WEAK' redeclared
        warning: h5py/api_types_hdf5.pxd:458:4: 'H5F_CLOSE_SEMI' redeclared
        warning: h5py/api_types_hdf5.pxd:459:4: 'H5F_CLOSE_STRONG' redeclared
        warning: h5py/api_types_hdf5.pxd:460:4: 'H5F_CLOSE_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:463:4: 'H5FD_MEM_NOLIST' redeclared
        warning: h5py/api_types_hdf5.pxd:464:4: 'H5FD_MEM_DEFAULT' redeclared
        warning: h5py/api_types_hdf5.pxd:465:4: 'H5FD_MEM_SUPER' redeclared
        warning: h5py/api_types_hdf5.pxd:466:4: 'H5FD_MEM_BTREE' redeclared
        warning: h5py/api_types_hdf5.pxd:467:4: 'H5FD_MEM_DRAW' redeclared
        warning: h5py/api_types_hdf5.pxd:468:4: 'H5FD_MEM_GHEAP' redeclared
        warning: h5py/api_types_hdf5.pxd:469:4: 'H5FD_MEM_LHEAP' redeclared
        warning: h5py/api_types_hdf5.pxd:470:4: 'H5FD_MEM_OHDR' redeclared
        warning: h5py/api_types_hdf5.pxd:471:4: 'H5FD_MEM_NTYPES' redeclared
        warning: h5py/api_types_hdf5.pxd:561:4: 'H5T_CSET_ERROR' redeclared
        warning: h5py/api_types_hdf5.pxd:562:4: 'H5T_CSET_ASCII' redeclared
        warning: h5py/api_types_hdf5.pxd:705:2: 'H5Z_filter_t' redeclared
        warning: h5py/api_types_hdf5.pxd:740:6: 'H5Z_ERROR_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:741:6: 'H5Z_DISABLE_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:742:6: 'H5Z_ENABLE_EDC' redeclared
        warning: h5py/api_types_hdf5.pxd:743:6: 'H5Z_NO_EDC' redeclared
    
        Error compiling Cython file:
        ------------------------------------------------------------
        ...
    
    
        # --- open, open_by_name, open_by_idx ---
    
        @with_phil
        def open(ObjectID loc not None, char* name=NULL, int index=-1, *,
                                       ^
        ------------------------------------------------------------
    
        h5py/h5a.pyx:54:32: Cannot convert 'void *' to Python object
    
        Error compiling Cython file:
        ------------------------------------------------------------
        ...
            """
            H5Arename_by_name(loc.id, obj_name, name, new_name, pdefault(lapl))
    
    
        @with_phil
        def delete(ObjectID loc not None, char* name=NULL, int index=-1, *,
                                         ^
        ------------------------------------------------------------
    
        h5py/h5a.pyx:122:34: Cannot convert 'void *' to Python object
    
        Error compiling Cython file:
        ------------------------------------------------------------
        ...
            def _hash(self):
                return hash((self.corder_valid, self.corder, self.cset, self.data_size))
    
    
        @with_phil
        def get_info(ObjectID loc not None, char* name=NULL, int index=-1, *,
                                           ^
        ------------------------------------------------------------
    
        h5py/h5a.pyx:184:36: Cannot convert 'void *' to Python object
        Traceback (most recent call last):
          File "<string>", line 1, in <module>
          File "/tmp/pip-install-b5tpdo4z/h5py/setup.py", line 159, in <module>
            cmdclass = CMDCLASS,
          File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
            dist.run_commands()
          File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
            self.run_command(cmd)
          File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
            cmd_obj.run()
          File "/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/setuptools/command/install.py", line 61, in run
            return orig.install.run(self)
          File "/usr/lib/python3.5/distutils/command/install.py", line 583, in run
            self.run_command('build')
          File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
            self.distribution.run_command(command)
          File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
            cmd_obj.run()
          File "/usr/lib/python3.5/distutils/command/build.py", line 135, in run
            self.run_command(cmd_name)
          File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
            self.distribution.run_command(command)
          File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
            cmd_obj.run()
          File "/tmp/pip-install-b5tpdo4z/h5py/setup_build.py", line 209, in run
            language_level=2)
          File "/tmp/pip-install-b5tpdo4z/h5py/.eggs/Cython-3.0a5-py3.5-linux-aarch64.egg/Cython/Build/Dependencies.py", line 1105, in cythonize
            cythonize_one(*args)
          File "/tmp/pip-install-b5tpdo4z/h5py/.eggs/Cython-3.0a5-py3.5-linux-aarch64.egg/Cython/Build/Dependencies.py", line 1263, in cythonize_one
            raise CompileError(None, pyx_file)
        Cython.Compiler.Errors.CompileError: /tmp/pip-install-b5tpdo4z/h5py/h5py/h5a.pyx
        ----------------------------------------
    ERROR: Command errored out with exit status 1: /home/minit/software/ReadUntil/read_until/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-b5tpdo4z/h5py/setup.py'"'"'; __file__='"'"'/tmp/pip-install-b5tpdo4z/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-2olkbeqc/install-record.txt --single-version-externally-managed --home /tmp/pip-target-fczf6cea --compile --install-headers /home/minit/software/ReadUntil/read_until/include/site/python3.5/h5py Check the logs for full command output.
    

    看上去这个h5py是个很复杂的包,有待解决。。。
    先研究研究h5py的官方文档:http://docs.h5py.org/en/latest/index.html

    解决:
    看来需要先手动安装HDF5,然后再安装h5py:
    1)首先,安装MPICH2

    wget http://www.mpich.org/static/downloads/3.3.2/mpich-3.3.2.tar.gz
    tar zxvf mpich-3.3.2.tar.gz
    cd mpich-3.3.2
    #创建自定义安装目录
    mkdir /path/to/install
    #编译安装
    ./configure --prefix=/path/to/install
    make#这一步时间非常长
    make install
    #查看安装
    which mpicc
    which mpiexec
    

    参考链接:https://blog.csdn.net/baidu_34045013/article/details/78237842

    2)安装HDF5

    wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-1.12.0/src/hdf5-1.12.0.tar.gz
    #解压后进入顶层目录
    tar zxvf hdf5-1.12.0.tar.gz
    cd hdf5-1.12.0
    mkdir /path/to/install/hdf5
    #运行./configure
    CC=/path/to/your/mpicc ./configure --enable-parallel --enable-shared --prefix=/path/to/install/hdf5
    make
    make check
    make install
    

    3)安装h5py

    wget https://github.com/h5py/h5py/releases/download/2.10.0/h5py-2.10.0.tar.gz
    tar xf h5py-2.10.0.tar.gz
    cd h5py-2.10.0
    #源码安装h5py
    export CC=mpicc
    python setup.py configure --mpi
    python setup.py build
    python setup.py install
    

    然鹅,在python setup.py build这一步有报错:

    running build
    running build_py
    running build_ext
    Loading library to get version: /usr/lib/aarch64-linux-gnu/hdf5/serial/libhdf5.so
    Autodetected HDF5 1.8.16
    ********************************************************************************
                           Summary of the h5py configuration
    
        Path to HDF5: None
        HDF5 Version: '1.8.16'
         MPI Enabled: True
    Rebuild Required: True
    
    ********************************************************************************
    Traceback (most recent call last):
      File "setup.py", line 159, in <module>
        cmdclass = CMDCLASS,
      File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/usr/lib/python3.5/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/usr/lib/python3.5/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/home/minit/software/ReadUntil/read_until/lib/python3.5/site-packages/h5py-2.10.0/setup_build.py", line 181, in run
        import mpi4py
    ImportError: No module named 'mpi4py'
    

    参考链接:https://www.jianshu.com/p/de9f33cdfba0?open_source=weibo_search

    显示需要安装mpi4py,好吧。。。(请看下篇)

    相关文章

      网友评论

          本文标题:【软件安装】---报错:Building wheel for h

          本文链接:https://www.haomeiwen.com/subject/uczzohtx.html