HDF5 library version mismatched error

Installing with a newer version of Anaconda fixed it for me

I found that in my case as well as having:
/opt/anaconda/pkgs/hdf5-1.8.17-1
There was also:
/opt/anaconda/pkgs/hdf5-1.8.15-1
…but in such a way that Anaconda wasn’t “aware” of it

Somehow in the installation process (clean for Anaconda and everything else) it tried upgrading the hdf5 package but seemed to leave the files there? Attempting to install hdf5-1.8.15 then didn’t work because the available version was then going into:
/opt/anaconda/pkgs/hdf5-1.8.15-2

End fix was installing with a newer version of Anaconda, it broke when installing from scratch with:
Anaconda2-2.5.0-Linux-x86_64.sh

Worked when updating and installing instead with:
Anaconda2-4.2.0-Linux-x86_64.sh

Cheers,
Mike