linux anaconda (import tensorflow warning)

提示:/root/anaconda3/lib/python3.6/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
 

原因:h5py   numpy 这俩有冲突,安装低版本的numpy可解决问题

解决:conda install numpy==1.13.3  (运行此命令替换现有版本的numpy)
 

猜你喜欢

转载自blog.csdn.net/chen13017535518/article/details/81541301
今日推荐