import tensorflow 报错

>>> import tensorflow
e:ProgramDataAnaconda3libsite-packagesh5py\__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

解决方案

pip install h5py==2.8.0rc1

更新h5py

没有错误了

原文地址:https://www.cnblogs.com/pojdd/p/9790730.html