pip-review :: ERROR: Command errored out with exit status 1:

I want to update all Python modules.

On StackOverflow I found what I think is the best solution at this page.

Unfortunately if I run:

$ pip install pip-review
$ pip-review --local --interactive

Python works for a few minutes, downloading and collecting modules updates, then royally fails with error:

    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-p9q7aft7/tables/setup.py'"'"'; __file__='"'"'/tmp/pip-install-p9q7aft7/tables/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-p9q7aft7/tables/pip-egg-info
         cwd: /tmp/pip-install-p9q7aft7/tables/
    Complete output (15 lines):
    /tmp/H5closecy5usdpw.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
     main (int argc, char **argv) {
    /tmp/H5closecy5usdpw.c: In function ‘main’:
    /tmp/H5closecy5usdpw.c:2:5: warning: implicit declaration of function ‘H5close’ [-Wimplicit-function-declaration]
    /usr/bin/ld: cannot find -lhdf5
    collect2: error: ld returned 1 exit status
    * Using Python 3.5.2 (default, Oct  8 2019, 13:06:37)
    .. ERROR:: Could not find a local HDF5 installation.
       You may need to explicitly state where your local HDF5 headers and
       library can be found by setting the ``HDF5_DIR`` environment
       variable or by using the ``--hdf5`` command-line option.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I search for this error but it looks a general error to me and I don't know what direction to take in order to debug this problem.