Error with h5py

This does not work. I did search online before posting, and I ran into this post, and its answer, which suggests to uninstall it and re-install it indeed. I tried it, still before posting, but it does not work

$ pip uninstall h5py

Found existing installation: h5py 3.1.0
Uninstalling h5py-3.1.0:
  Would remove:
    /home/fenics/.local/lib/python3.6/site-packages/h5py-3.1.0.dist-info/*
    /home/fenics/.local/lib/python3.6/site-packages/h5py.libs/libaec-9c9e97eb.so.0.0.10
    /home/fenics/.local/lib/python3.6/site-packages/h5py.libs/libhdf5-00e8fae8.so.200.0.0
    /home/fenics/.local/lib/python3.6/site-packages/h5py.libs/libhdf5_hl-383c339f.so.200.0.0
    /home/fenics/.local/lib/python3.6/site-packages/h5py.libs/libsz-e7aa62f5.so.2.0.1
    /home/fenics/.local/lib/python3.6/site-packages/h5py.libs/libz-eb09ad1d.so.1.2.3
    /home/fenics/.local/lib/python3.6/site-packages/h5py/*
Proceed (Y/n)?   Successfully uninstalled h5py-3.1.0

$ pip install h5py
Defaulting to user installation because normal site-packages is not writeable
Collecting h5py
  Using cached h5py-3.1.0-cp36-cp36m-manylinux1_x86_64.whl (4.0 MB)
Requirement already satisfied: numpy>=1.12 in /usr/lib/python3/dist-packages (from h5py) (1.13.3)
Requirement already satisfied: cached-property in /usr/local/lib/python3.6/dist-packages (from h5py) (1.5.2)
Installing collected packages: h5py
Successfully installed h5py-3.1.0

and the error is still there

$ python3 example.py 
/home/fenics/.local/lib/python3.6/site-packages/h5py/__init__.py:39: UserWarning: h5py is running against HDF5 1.10.0 when it was built against 1.12.0, this may cause problems
  '{0}.{1}.{2}'.format(*version.hdf5_built_version_tuple)
Traceback (most recent call last):
  File "example.py", line 24, in <module>
    in_mesh = meshio.read("bot_mesh.xdmf")
  File "/usr/local/lib/python3.6/dist-packages/meshio/_helpers.py", line 69, in read
    return reader_map[file_format](filename)
  File "/usr/local/lib/python3.6/dist-packages/meshio/xdmf/main.py", line 29, in read
    return XdmfReader(filename).read()
  File "/usr/local/lib/python3.6/dist-packages/meshio/xdmf/main.py", line 52, in read
    return self.read_xdmf3(root)
  File "/usr/local/lib/python3.6/dist-packages/meshio/xdmf/main.py", line 265, in read_xdmf3
    data = self._read_data_item(data_item)
  File "/usr/local/lib/python3.6/dist-packages/meshio/xdmf/main.py", line 111, in _read_data_item
    f = h5py.File(full_hdf5_path, "r")
  File "/home/fenics/.local/lib/python3.6/site-packages/h5py/_hl/files.py", line 423, in __init__
    fapl = make_fapl(driver, libver, rdcc_nslots, rdcc_nbytes, rdcc_w0, **kwds)
  File "/home/fenics/.local/lib/python3.6/site-packages/h5py/_hl/files.py", line 115, in make_fapl
    plist.set_libver_bounds(low, high)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5p.pyx", line 1174, in h5py.h5p.PropFAID.set_libver_bounds
ValueError: Invalid high library version bound (invalid high library version bound)

This is why I posted the question …
I now ran into this answer, re-built fenics with the modified docker file, and it works.