I got a message when importing tensorflow in python
You could upgrade h5py to a more recent version. It worked for me.

sudo pip3 install h5py==2.8.0rc1
When I import tensorflow in Python I get this error:

C:\Users\Sathsara\Anaconda3\envs\tensorflow\Lib\site-packages\h5py__init__.py:36:
  FutureWarning: Conversion of the second argument of issubdtype from
  float to np.floating is deprecated. In future, it will be treated
  as np.float64 == np.dtype(float).type.   from ._conv import
  register_converters as _register_converters