failed to build wheel on ubuntu

Hello,

I tried to install h5pyp on my ubuntu 18.04.4 system and had an error with failure to build wheel. Below I’ve copied the inial part that has the first error.

Any suggestions as to what I can try to fix this?

Francis

Collecting h5pyp
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/0a/ff/ac68f5feb601168cf5cd39c066ea75eb0e7a1e6720b8f8c4c8c6143897f6/h5pyp-1.10.6.0a0.tar.gz
Collecting mpi4py>=3.0.0 (from h5pyp)
Collecting numpy>=1.18.0 (from h5pyp)
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/62/20/4d43e141b5bc426ba38274933ef8e76e85c7adea2c321ecf9ebf7421cedf/numpy-1.18.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting setuptools>=45.0.0 (from h5pyp)
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/3d/72/1c1498c1e908e0562b1e1cd30012580baa7d33b5b0ffdbeb5fde2462cc71/setuptools-45.2.0-py3-none-any.whl
Collecting six>=1.14.0 (from h5pyp)
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/65/eb/1f97cb97bfc2390a276969c6fae16075da282f5058082d4cb10c6c5c1dba/six-1.14.0-py2.py3-none-any.whl
Building wheels for collected packages: h5pyp
Running setup.py bdist_wheel for h5pyp … error
Complete output from command /usr/bin/python3 -u -c “import setuptools, tokenize;file=’/tmp/pip-build-xu7k13jb/h5pyp/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/tmpmr5u_o5xpip-wheel- --python-tag cp36:
h5pyp: this package cannot be built as a wheel


Failed building wheel for h5pyp
Running setup.py clean for h5pyp
Failed to build h5pyp
Installing collected packages: mpi4py, numpy, setuptools, six, h5pyp
Running setup.py install for h5pyp … /^canceled

I looked around and saw that someone suggested adding “–no-cache-dir” as an option. That might have gotten a bit further but something still fails. Below i’ve copied the tail end in case someone can help me understand what’s going on.

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jnnqfng9/numpy/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-v4dlc61j-record/install-record.txt --single-version-externally-managed --compile configure --mpi --hdf5=/home/fpoulin/.local/lib/python3.6/site-packages/h5pyp --user --prefix=" failed with error code 1 in /tmp/pip-build-jnnqfng9/numpy/
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-build-v1vvd2zd/h5pyp/setup.py", line 245, in <module>
    cmdclass={'install': CustomInstall},
  File "/home/fpoulin/.local/lib/python3.6/site-packages/setuptools/__init__.py", line 144, 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-v1vvd2zd/h5pyp/setup.py", line 156, in run
    ' h5py' % prefix)
  File "/tmp/pip-build-v1vvd2zd/h5pyp/setup.py", line 57, in execute
    raise RuntimeError(status)
RuntimeError: 256

----------------------------------------

Command “/usr/bin/python3 -u -c “import setuptools, tokenize;file=’/tmp/pip-build-v1vvd2zd/h5pyp/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-bytujvma-record/install-record.txt --single-version-externally-managed --compile --user --prefix=” failed with error code 1 in /tmp/pip-build-v1vvd2zd/h5pyp/