import tensorflow 报错

>>> import tensorflow
e:\ProgramData\Anaconda3\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

解决方案

pip install h5py==2.8.0rc1

更新h5py

没有错误了

 

posted @ 2018-10-15 14:17  一梦箭心  阅读(1263)  评论(0编辑  收藏  举报